aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-05-04 01:00:24 +0000
committerRichard M. Stallman2006-05-04 01:00:24 +0000
commit1459a43bb1c9ae396fdb49feb4bfbff5a84118c2 (patch)
tree5a4b37b5cc3b5196c66155254e6b2471b9e94467
parent379e8670bbe68b92cb0b2a00bbeed0345cea5258 (diff)
downloademacs-1459a43bb1c9ae396fdb49feb4bfbff5a84118c2.tar.gz
emacs-1459a43bb1c9ae396fdb49feb4bfbff5a84118c2.zip
(next-history-element, previous-history-element): Doc fix.
-rw-r--r--lisp/simple.el6
1 files 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."
1281(defvar minibuffer-temporary-goal-position nil) 1281(defvar minibuffer-temporary-goal-position nil)
1282 1282
1283(defun next-history-element (n) 1283(defun next-history-element (n)
1284 "Insert the next element of the minibuffer history into the minibuffer." 1284 "Puts next element of the minibuffer history in the minibuffer.
1285With argument N, it uses the Nth following element."
1285 (interactive "p") 1286 (interactive "p")
1286 (or (zerop n) 1287 (or (zerop n)
1287 (let ((narg (- minibuffer-history-position n)) 1288 (let ((narg (- minibuffer-history-position n))
@@ -1324,7 +1325,8 @@ makes the search case-sensitive."
1324 (goto-char (or minibuffer-temporary-goal-position (point-max)))))) 1325 (goto-char (or minibuffer-temporary-goal-position (point-max))))))
1325 1326
1326(defun previous-history-element (n) 1327(defun previous-history-element (n)
1327 "Inserts the previous element of the minibuffer history into the minibuffer." 1328 "Puts previous element of the minibuffer history in the minibuffer.
1329With argument N, it uses the Nth previous element."
1328 (interactive "p") 1330 (interactive "p")
1329 (next-history-element (- n))) 1331 (next-history-element (- n)))
1330 1332