changeset 71664:dd41b3cb7611

(shell-mode): Only change the buffer-local value of comint-dynamic-complete-functions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 07 Jul 2006 14:34:02 +0000
parents 1c3e611b4833
children 611496c32b32
files lisp/shell.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/shell.el	Fri Jul 07 13:31:23 2006 +0000
+++ b/lisp/shell.el	Fri Jul 07 14:34:02 2006 +0000
@@ -423,7 +423,8 @@
   (setq comint-delimiter-argument-list shell-delimiter-argument-list)
   (setq comint-file-name-chars shell-file-name-chars)
   (setq comint-file-name-quote-list shell-file-name-quote-list)
-  (setq comint-dynamic-complete-functions shell-dynamic-complete-functions)
+  (set (make-local-variable 'comint-dynamic-complete-functions)
+       shell-dynamic-complete-functions)
   (set (make-local-variable 'paragraph-separate) "\\'")
   (make-local-variable 'paragraph-start)
   (setq paragraph-start comint-prompt-regexp)