mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix last change
* lisp/simple.el (goto-history-element) (next-history-element): Fix quoting of "future history". * doc/lispref/minibuf.texi (Minibuffer Commands) (Text from Minibuffer): Add index entry and cross-reference for "future history". (Bug#38026)
This commit is contained in:
parent
15f4c4156c
commit
4e4440272e
2 changed files with 6 additions and 4 deletions
|
|
@ -2131,7 +2131,7 @@ the end of the list of defaults just after the default value."
|
|||
The argument NABS specifies the absolute history position in
|
||||
descending order, where 0 means the current element and a
|
||||
positive number N means the Nth previous element. NABS being a
|
||||
negative number -N means the Nth entry of ``future history.''"
|
||||
negative number -N means the Nth entry of \"future history.\""
|
||||
(interactive "p")
|
||||
(when (and (not minibuffer-default-add-done)
|
||||
(functionp minibuffer-default-add-function)
|
||||
|
|
@ -2189,8 +2189,8 @@ negative number -N means the Nth entry of ``future history.''"
|
|||
(defun next-history-element (n)
|
||||
"Puts next element of the minibuffer history in the minibuffer.
|
||||
With argument N, it uses the Nth following element. The position
|
||||
in the history can go beyond the current position and invoke
|
||||
``future history.''"
|
||||
in the history can go beyond the current position and invoke \"future
|
||||
history.\""
|
||||
(interactive "p")
|
||||
(or (zerop n)
|
||||
(goto-history-element (- minibuffer-history-position n))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue