Mercurial > emacs
diff lisp/shell.el @ 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 | 2f86f394f7bc |
| children | 82f0fddf878e 8a8e69664178 |
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)
