1 ;;; -*- Mode: Emacs-Lisp -*-
5 ;;; This file is part of ILISP.
6 ;;; Please refer to the file COPYING for copyrights and licensing
8 ;;; Please refer to the file ACKNOWLEGDEMENTS for an (incomplete) list
9 ;;; of present and past contributors.
11 ;;; $Id: ilxemacs.el,v 1.3 2001-07-02 09:40:49 youngs Exp $
13 ;;;============================================================================
16 ;;; XEmacs 19.14 doesn't have comint-input-chunk-size but earlier
17 ;;; versions do, so we define here if needed. (toy@rtp.ericsson.se)
19 (if (not (boundp 'comint-input-chunk-size))
20 (setq comint-input-chunk-size 512))
24 ;;;============================================================================
27 (defun ilisp-get-input-ring ()
28 "Use instead of get-input-ring coming-input-ring or input-ring."
29 (if (eq +ilisp-emacs-version-id+ 'lucid-19)
35 (defun ilisp-ring-insert (ring input)
36 (if (eq +ilisp-emacs-version-id+ 'lucid-19)
37 (ring-insert-new ring input)
38 (ring-insert ring input)))
41 (defun ilisp-temp-buffer-show-function-symbol ()
42 'temp-buffer-show-function)
45 (defun set-ilisp-temp-buffer-show-function (val)
46 (setq temp-buffer-show-function val))
49 (defun ilisp-temp-buffer-show-function ()
50 temp-buffer-show-function)
53 (defun ilisp-input-ring-index ()
54 (if (eq +ilisp-emacs-version-id+ 'lucid-19-new)
55 comint-input-ring-index
59 (defun set-ilisp-input-ring-index (n)
60 (if (eq +ilisp-emacs-version-id+ 'lucid-19-new)
61 (setq comint-input-ring-index n)
62 (setq input-ring-index n)))
65 (defun ilisp-input-ring-size ()
66 (if (eq +ilisp-emacs-version-id+ 'lucid-19-new)
67 comint-input-ring-size
71 (defun set-ilisp-input-ring-size (n)
72 (if (eq +ilisp-emacs-version-id+ 'lucid-19-new)
73 (setq comint-input-ring-size n)
74 (setq input-ring-size n)))
77 ;;============================================================================
82 ;;; end of file -- ilxemacs.el --