@deffn Command next-history-element n
This command replaces the minibuffer contents with the value of the
-@var{n}th more recent history element.
+@var{n}th more recent history element. The position in the history
+can go beyond the current position and invoke ``future history.''
@end deffn
@deffn Command previous-matching-history-element pattern n
This function puts element of the minibuffer history in the
minibuffer. The argument @var{nabs} specifies the absolute history
position in descending order, where 0 means the current element and a
-positive number @var{n} means the @var{n}th previous element.
+positive number @var{n} means the @var{n}th previous element. NABS
+being a negative number -@var{n} means the @var{n}th entry of ``future
+history.''
@end deffn
@node Minibuffer Windows
"Puts element of the minibuffer history in the minibuffer.
The argument NABS specifies the absolute history position in
descending order, where 0 means the current element and a
-positive number N means the Nth previous element."
+positive number N means the Nth previous element. NABS being a
+negative number -N means the Nth entry of ``future history.''"
(interactive "p")
(when (and (not minibuffer-default-add-done)
(functionp minibuffer-default-add-function)
(defun next-history-element (n)
"Puts next element of the minibuffer history in the minibuffer.
-With argument N, it uses the Nth following element."
+With argument N, it uses the Nth following element. The position
+in the history can go beyond the current position and invoke
+``future history.''"
(interactive "p")
(or (zerop n)
(goto-history-element (- minibuffer-history-position n))))