diff options
| author | Federico Tedin | 2019-12-24 17:38:19 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-12-24 17:40:15 +0100 |
| commit | 7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9 (patch) | |
| tree | e870880eba7be66662614f8e0efa7d13b208ba5f /doc | |
| parent | 0d2a711dc9a65dc8eb6e995369e70cddbcd7d9a4 (diff) | |
| download | emacs-7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9.tar.gz emacs-7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9.zip | |
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 'doc')
| -rw-r--r-- | doc/lispref/minibuf.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index dde30ce67f7..2c2ef9747b4 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -645,6 +645,15 @@ A history list for variable-name arguments read by | |||
| 645 | @code{read-variable}. | 645 | @code{read-variable}. |
| 646 | @end defvar | 646 | @end defvar |
| 647 | 647 | ||
| 648 | @defvar read-number-history | ||
| 649 | A history list for numbers read by @code{read-number}. | ||
| 650 | @end defvar | ||
| 651 | |||
| 652 | @defvar goto-line-history | ||
| 653 | A history list for arguments to @code{goto-line}. This variable is | ||
| 654 | buffer local. | ||
| 655 | @end defvar | ||
| 656 | |||
| 648 | @c Less common: coding-system-history, input-method-history, | 657 | @c Less common: coding-system-history, input-method-history, |
| 649 | @c command-history, grep-history, grep-find-history, | 658 | @c command-history, grep-history, grep-find-history, |
| 650 | @c read-envvar-name-history, setenv-history, yes-or-no-p-history. | 659 | @c read-envvar-name-history, setenv-history, yes-or-no-p-history. |