# HG changeset patch # User Richard M. Stallman # Date 1146704424 0 # Node ID dd437ac4b2c61a9b91dd583ff558a9f98b72a527 # Parent 8bc86cbc516470f36a70baeae87244c3ffec6e65 (next-history-element, previous-history-element): Doc fix. diff -r 8bc86cbc5164 -r dd437ac4b2c6 lisp/simple.el --- 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)))