From: Richard M. Stallman Date: Thu, 4 May 2006 01:00:24 +0000 (+0000) Subject: (next-history-element, previous-history-element): Doc fix. X-Git-Tag: emacs-pretest-22.0.90~2824 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1459a43bb1c9ae396fdb49feb4bfbff5a84118c2;p=emacs.git (next-history-element, previous-history-element): Doc fix. --- diff --git a/lisp/simple.el b/lisp/simple.el index 5da9c955eb3..811302527ef 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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)))