Mercurial > emacs
changeset 70369:dd437ac4b2c6
(next-history-element, previous-history-element): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 04 May 2006 01:00:24 +0000 |
parents | 8bc86cbc5164 |
children | 1495a3d3fbb5 |
files | lisp/simple.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Thu May 04 00:29:30 2006 +0000 +++ b/lisp/simple.el Thu May 04 01:00:24 2006 +0000 @@ -1281,7 +1281,8 @@ (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 @@ (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)))