]> git.eshelyaron.com Git - emacs.git/commit
Make goto-line-history buffer local only when so customized
authorAlan Mackenzie <acm@muc.de>
Wed, 17 Feb 2021 21:15:51 +0000 (21:15 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 17 Feb 2021 21:15:51 +0000 (21:15 +0000)
commitfbc9c59b9eb02d49f426341ee32334784d224ce4
tree63323149a1f37214d3f8c582cc142b66eddc4a71
parent6735bb3d22dc64f3fe42e4a7f439ea9d62f75b5a
Make goto-line-history buffer local only when so customized

* lisp/simple.el (goto-line-history-local): New customizable option.
(goto-line-history): Define this simply with defvar, not defvar-local.
(goto-line-read-args): Handle goto-line-history-local, and changes to it.

* doc/emacs/basic.texi (Moving Point): Add a paragraph about
goto-line-history-local.

* etc/NEWS: Add an item under "Editing Changes in Emacs 28.1".
doc/emacs/basic.texi
etc/NEWS
lisp/simple.el