Mercurial > emacs
diff lisp/term/keyswap.el @ 17662:9b1b6974b36f
(minibuffer-text-before-history): New variable.
(minibuffer-history-initialize): New fn, on minibuffer-setup-hook.
(next-history-element, previous-matching-history-element):
Initialize minibuffer-text-before-history.
(next-history-element): Use minibuffer-text-before-history
as "position 0" of the history list.
Use minibuffer-default as position -1, if it is non-nil.
Simplify error logic for beginning and end of history.
(set-variable): Delete old definition (duplicate).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 05 May 1997 11:54:37 +0000 |
parents | 8f952e921136 |
children | 33d53d287ee4 |