]> git.eshelyaron.com Git - emacs.git/commitdiff
(shell-mode): Only change the buffer-local value of
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jul 2006 14:34:02 +0000 (14:34 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jul 2006 14:34:02 +0000 (14:34 +0000)
comint-dynamic-complete-functions.

lisp/shell.el

index 6b22ac792388efe026ed62a7b496c149d093eb52..6a145ae1569a03cdeb32429fda90decbb7e141c9 100644 (file)
@@ -423,7 +423,8 @@ buffer."
   (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)