]> code.delx.au - gnu-emacs/commitdiff
(inferior-emacs-lisp-mode): Set comint-completion-addsuffix.
authorKarl Heuer <kwzh@gnu.org>
Wed, 12 Mar 1997 00:29:09 +0000 (00:29 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 12 Mar 1997 00:29:09 +0000 (00:29 +0000)
lisp/ielm.el

index afc2fa3a858bd6dd28ce8d4dfce4e8669a3c4ad0..a5ce307a3d1a82b2f10112b56abd7a99d95a36a0 100644 (file)
@@ -89,7 +89,7 @@ This variable is buffer-local.")
 (defvar ielm-header 
   (concat
    "*** Welcome to IELM version "
-   (substring "$Revision: 1.7 $" 11 -2)
+   (substring "$Revision: 1.8 $" 11 -2)
    " ***  Type (describe-mode) for help.\n"
    "IELM has ABSOLUTELY NO WARRANTY; type (describe-no-warranty) for details.\n")
   "Message to display when IELM is started.")
@@ -405,6 +405,9 @@ Customised bindings may be defined in `ielm-map', which currently contains:
   (setq comint-dynamic-complete-functions 
        '(ielm-tab comint-replace-by-expanded-history ielm-complete-filename ielm-complete-symbol))
   (setq comint-get-old-input 'ielm-get-old-input)
+  (make-local-variable 'comint-completion-addsuffix)
+  (setq comint-completion-addsuffix
+       (cons (char-to-string directory-sep-char) ""))
 
   (setq major-mode 'inferior-emacs-lisp-mode)
   (setq mode-name "IELM")