diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-02-08 00:25:16 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 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.tar.bz2 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'." ;; https://lists.gnu.org/r/emacs-devel/2007-08/msg00827.html ;; ;; This makes it really work to keep point at the bottom. - ;; (make-local-variable 'scroll-conservatively) - ;; (setq scroll-conservatively 10000) + ;; (setq-local scroll-conservatively 10000) (add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom t t) (make-local-variable 'comint-ptyp) (make-local-variable 'comint-process-echoes) |