changeset 49161:7d0428387d83

(inferior-emacs-lisp-mode): Bind comint-dynamic-complete-functions locally.
author Andreas Schwab <schwab@suse.de>
date Sun, 12 Jan 2003 20:11:44 +0000
parents dac2fe844fc4
children 58b21c73eff6
files lisp/ielm.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ielm.el	Sun Jan 12 15:40:23 2003 +0000
+++ b/lisp/ielm.el	Sun Jan 12 20:11:44 2003 +0000
@@ -1,6 +1,6 @@
 ;;; ielm.el --- interaction mode for Emacs Lisp
 
-;; Copyright (C) 1994, 2002 Free Software Foundation, Inc.
+;; Copyright (C) 1994, 2002, 2003 Free Software Foundation, Inc.
 
 ;; Author: David Smith <maa036@lancaster.ac.uk>
 ;; Maintainer: FSF
@@ -462,6 +462,7 @@
   (setq paragraph-start comint-prompt-regexp)
   (setq comint-input-sender 'ielm-input-sender)
   (setq comint-process-echoes nil)
+  (make-local-variable 'comint-dynamic-complete-functions)
   (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)