]> git.eshelyaron.com Git - emacs.git/commitdiff
(next-history-element, previous-history-element): Doc fix.
authorRichard M. Stallman <rms@gnu.org>
Thu, 4 May 2006 01:00:24 +0000 (01:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 4 May 2006 01:00:24 +0000 (01:00 +0000)
lisp/simple.el

index 5da9c955eb369a17ba741d706066bb3313db8d2c..811302527ef9d3938cff74afbff08ebb3df543dc 100644 (file)
@@ -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)))