Mercurial > emacs
view lisp/term/vt201.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 | 8ba66a564213 |
children | 67b464da13ec |
line wrap: on
line source
;; For our purposes we can treat the vt200 and vt100 almost alike. ;; Most differences are handled by the termcap entry. (load "term/vt100" nil t) ;; Make F11 an escape key. (define-key function-key-map "\e[23~" [?\e])