From 1459a43bb1c9ae396fdb49feb4bfbff5a84118c2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 4 May 2006 01:00:24 +0000 Subject: [PATCH] (next-history-element, previous-history-element): Doc fix. --- lisp/simple.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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))) -- 2.39.5