aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKarl Heuer1997-03-12 00:29:09 +0000
committerKarl Heuer1997-03-12 00:29:09 +0000
commit34ce46c8086b88ff86075dc5dd93b059d6fd8d51 (patch)
treed039cc793d69ded5c55965f586f1d0226b54496b /lisp
parent3b4956e86847edf8db3bdc87413771ca51d48d5c (diff)
downloademacs-34ce46c8086b88ff86075dc5dd93b059d6fd8d51.tar.gz
emacs-34ce46c8086b88ff86075dc5dd93b059d6fd8d51.zip
(inferior-emacs-lisp-mode): Set comint-completion-addsuffix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ielm.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el
index afc2fa3a858..a5ce307a3d1 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -89,7 +89,7 @@ This variable is buffer-local.")
89(defvar ielm-header 89(defvar ielm-header
90 (concat 90 (concat
91 "*** Welcome to IELM version " 91 "*** Welcome to IELM version "
92 (substring "$Revision: 1.7 $" 11 -2) 92 (substring "$Revision: 1.8 $" 11 -2)
93 " *** Type (describe-mode) for help.\n" 93 " *** Type (describe-mode) for help.\n"
94 "IELM has ABSOLUTELY NO WARRANTY; type (describe-no-warranty) for details.\n") 94 "IELM has ABSOLUTELY NO WARRANTY; type (describe-no-warranty) for details.\n")
95 "Message to display when IELM is started.") 95 "Message to display when IELM is started.")
@@ -405,6 +405,9 @@ Customised bindings may be defined in `ielm-map', which currently contains:
405 (setq comint-dynamic-complete-functions 405 (setq comint-dynamic-complete-functions
406 '(ielm-tab comint-replace-by-expanded-history ielm-complete-filename ielm-complete-symbol)) 406 '(ielm-tab comint-replace-by-expanded-history ielm-complete-filename ielm-complete-symbol))
407 (setq comint-get-old-input 'ielm-get-old-input) 407 (setq comint-get-old-input 'ielm-get-old-input)
408 (make-local-variable 'comint-completion-addsuffix)
409 (setq comint-completion-addsuffix
410 (cons (char-to-string directory-sep-char) ""))
408 411
409 (setq major-mode 'inferior-emacs-lisp-mode) 412 (setq major-mode 'inferior-emacs-lisp-mode)
410 (setq mode-name "IELM") 413 (setq mode-name "IELM")