From 898cfc1d8a8ac22ccc7727d61b6cbb1cfb8c89b6 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 7 Jul 2006 14:34:02 +0000 Subject: [PATCH] (shell-mode): Only change the buffer-local value of comint-dynamic-complete-functions. --- lisp/shell.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2