mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(next-history-element, previous-history-element): Doc fix.
This commit is contained in:
parent
379e8670bb
commit
1459a43bb1
1 changed files with 4 additions and 2 deletions
|
|
@ -1281,7 +1281,8 @@ makes the search case-sensitive."
|
|||
(defvar minibuffer-temporary-goal-position nil)
|
||||
|
||||
(defun next-history-element (n)
|
||||
"Insert the next element of the minibuffer history into the minibuffer."
|
||||
"Puts next element of the minibuffer history in the minibuffer.
|
||||
With argument N, it uses the Nth following element."
|
||||
(interactive "p")
|
||||
(or (zerop n)
|
||||
(let ((narg (- minibuffer-history-position n))
|
||||
|
|
@ -1324,7 +1325,8 @@ makes the search case-sensitive."
|
|||
(goto-char (or minibuffer-temporary-goal-position (point-max))))))
|
||||
|
||||
(defun previous-history-element (n)
|
||||
"Inserts the previous element of the minibuffer history into the minibuffer."
|
||||
"Puts previous element of the minibuffer history in the minibuffer.
|
||||
With argument N, it uses the Nth previous element."
|
||||
(interactive "p")
|
||||
(next-history-element (- n)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue