From: Stefan Monnier Date: Fri, 7 Jul 2006 14:34:02 +0000 (+0000) Subject: (shell-mode): Only change the buffer-local value of X-Git-Tag: emacs-pretest-22.0.90~1661 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=898cfc1d8a8ac22ccc7727d61b6cbb1cfb8c89b6;p=emacs.git (shell-mode): Only change the buffer-local value of comint-dynamic-complete-functions. --- diff --git a/lisp/shell.el b/lisp/shell.el index 6b22ac79238..6a145ae1569 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -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)