diff options
| author | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
| commit | f4d5b687150810129b7a1d5b006e31ccf82b691b (patch) | |
| tree | 4229b13800349032697daae3904dc3773e6b7a80 /lisp/shell.el | |
| parent | d5514332d4a6092673ce1f78fadcae0c57f7be64 (diff) | |
| parent | 148100d98319499f0ac6f57b8be08cbd14884a5c (diff) | |
| download | emacs-comment-cache.tar.gz emacs-comment-cache.zip | |
Merge branch 'master' into comment-cachecomment-cache
Diffstat (limited to 'lisp/shell.el')
| -rw-r--r-- | lisp/shell.el | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 133771aeb32..c8a8555d632 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -544,11 +544,14 @@ control whether input and output cause the window to scroll to the end of the | |||
| 544 | buffer." | 544 | buffer." |
| 545 | (setq comint-prompt-regexp shell-prompt-pattern) | 545 | (setq comint-prompt-regexp shell-prompt-pattern) |
| 546 | (shell-completion-vars) | 546 | (shell-completion-vars) |
| 547 | (set (make-local-variable 'paragraph-separate) "\\'") | 547 | (setq-local paragraph-separate "\\'") |
| 548 | (set (make-local-variable 'paragraph-start) comint-prompt-regexp) | 548 | (setq-local paragraph-start comint-prompt-regexp) |
| 549 | (set (make-local-variable 'font-lock-defaults) '(shell-font-lock-keywords t)) | 549 | (setq-local font-lock-defaults '(shell-font-lock-keywords t)) |
| 550 | (set (make-local-variable 'shell-dirstack) nil) | 550 | (setq-local shell-dirstack nil) |
| 551 | (set (make-local-variable 'shell-last-dir) nil) | 551 | (setq-local shell-last-dir nil) |
| 552 | ;; People expect Shell mode to keep the last line of output at | ||
| 553 | ;; window bottom. | ||
| 554 | (setq-local scroll-conservatively 101) | ||
| 552 | (shell-dirtrack-mode 1) | 555 | (shell-dirtrack-mode 1) |
| 553 | 556 | ||
| 554 | ;; By default, ansi-color applies faces using overlays. This is | 557 | ;; By default, ansi-color applies faces using overlays. This is |