diff options
author | Federico Tedin <federicotedin@gmail.com> | 2019-12-24 17:38:19 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-12-24 17:40:15 +0100 |
commit | 7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9 (patch) | |
tree | e870880eba7be66662614f8e0efa7d13b208ba5f /etc | |
parent | 0d2a711dc9a65dc8eb6e995369e70cddbcd7d9a4 (diff) | |
download | emacs-7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9.tar.gz |
Make goto-line keep a separate input history per buffer
* lisp/simple.el (goto-line-history): New history variable.
(goto-line): Use new (buffer-local) variable as input
history (Bug#38282).
* lisp/subr.el (read-number-history): New history variable.
(read-number): Use the new variable as default input history.
* doc/lispref/minibuf.texi (Minibuffer History): Document
read-number-history and goto-line-history variables.
* etc/NEWS: Announce changes.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -65,6 +65,17 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. ++++ +** 'read-number' now has its own history variable. +Additionally, the function now accepts a HIST argument which can be +used to specify a custom history variable. + ++++ +** Input history for 'goto-line' is now local to every buffer. +Each buffer will keep a separate history of line numbers used with +'goto-line'. This should help making faster the process of finding +line numbers that were previously jumped to. + Local variables: coding: utf-8 |