diff options
| author | Stefan Monnier | 2006-07-07 14:34:02 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-07-07 14:34:02 +0000 |
| commit | 898cfc1d8a8ac22ccc7727d61b6cbb1cfb8c89b6 (patch) | |
| tree | 7589a0de84e654545b6378219c2e58b808be9ddc /lisp | |
| parent | 1daf0ddeff2053d4e530c4bbf827ed40800dcaa6 (diff) | |
| download | emacs-898cfc1d8a8ac22ccc7727d61b6cbb1cfb8c89b6.tar.gz emacs-898cfc1d8a8ac22ccc7727d61b6cbb1cfb8c89b6.zip | |
(shell-mode): Only change the buffer-local value of
comint-dynamic-complete-functions.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/shell.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." | |||
| 423 | (setq comint-delimiter-argument-list shell-delimiter-argument-list) | 423 | (setq comint-delimiter-argument-list shell-delimiter-argument-list) |
| 424 | (setq comint-file-name-chars shell-file-name-chars) | 424 | (setq comint-file-name-chars shell-file-name-chars) |
| 425 | (setq comint-file-name-quote-list shell-file-name-quote-list) | 425 | (setq comint-file-name-quote-list shell-file-name-quote-list) |
| 426 | (setq comint-dynamic-complete-functions shell-dynamic-complete-functions) | 426 | (set (make-local-variable 'comint-dynamic-complete-functions) |
| 427 | shell-dynamic-complete-functions) | ||
| 427 | (set (make-local-variable 'paragraph-separate) "\\'") | 428 | (set (make-local-variable 'paragraph-separate) "\\'") |
| 428 | (make-local-variable 'paragraph-start) | 429 | (make-local-variable 'paragraph-start) |
| 429 | (setq paragraph-start comint-prompt-regexp) | 430 | (setq paragraph-start comint-prompt-regexp) |