Mercurial > emacs
changeset 33683:8fc77111dd98
(minibuffer-avoid-prompt): New function.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 21 Nov 2000 15:58:33 +0000 |
parents | ec99a5f4085e |
children | 1a9baca954a0 |
files | lisp/simple.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Tue Nov 21 15:57:34 2000 +0000 +++ b/lisp/simple.el Tue Nov 21 15:58:33 2000 +0000 @@ -686,6 +686,10 @@ (defun minibuffer-history-initialize () (setq minibuffer-text-before-history nil)) +(defun minibuffer-avoid-prompt (new old) + "A point-motion hook for the minibuffer, that moves point out of the prompt." + (constrain-to-field nil (point-max))) + (defcustom minibuffer-history-case-insensitive-variables nil "*Minibuffer history variables for which matching should ignore case. If a history variable is a member of this list, then the