diff options
| author | Stefan Kangas | 2021-02-08 00:25:16 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-02-08 00:25:16 +0100 |
| commit | 7d4d577ed14fb2519ea2eaecb11c8ecff658f147 (patch) | |
| tree | f19b3bfdc2c8e8b748e53fb748450334a02dace3 /lisp/comint.el | |
| parent | 651aefa31246a786891e2e743800dbf753223928 (diff) | |
| download | emacs-7d4d577ed14fb2519ea2eaecb11c8ecff658f147.tar.gz emacs-7d4d577ed14fb2519ea2eaecb11c8ecff658f147.zip | |
Prefer setq-local in a few more places
* lisp/calc/calc-embed.el (calc-embedded-make-info):
* lisp/calc/calcalg2.el (calcFunc-integ):
* lisp/comint.el (comint-mode):
* lisp/epa.el (epa--list-keys, epa--show-key):
* lisp/epg.el (epg--start):
* lisp/vc/ediff-util.el (ediff-activate-mark): Prefer setq-local.
Diffstat (limited to 'lisp/comint.el')
| -rw-r--r-- | lisp/comint.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index a9633d08ba1..57df6bfb19f 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -700,8 +700,7 @@ Entry to this mode runs the hooks on `comint-mode-hook'." | |||
| 700 | ;; https://lists.gnu.org/r/emacs-devel/2007-08/msg00827.html | 700 | ;; https://lists.gnu.org/r/emacs-devel/2007-08/msg00827.html |
| 701 | ;; | 701 | ;; |
| 702 | ;; This makes it really work to keep point at the bottom. | 702 | ;; This makes it really work to keep point at the bottom. |
| 703 | ;; (make-local-variable 'scroll-conservatively) | 703 | ;; (setq-local scroll-conservatively 10000) |
| 704 | ;; (setq scroll-conservatively 10000) | ||
| 705 | (add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom t t) | 704 | (add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom t t) |
| 706 | (make-local-variable 'comint-ptyp) | 705 | (make-local-variable 'comint-ptyp) |
| 707 | (make-local-variable 'comint-process-echoes) | 706 | (make-local-variable 'comint-process-echoes) |