From 6e7d0ff7bc8ac16899501cebf9460bcfc26c9fb0 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 21 Nov 2000 15:58:33 +0000 Subject: [PATCH] (minibuffer-avoid-prompt): New function. --- lisp/simple.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/simple.el b/lisp/simple.el index 155f8468d5a..78f5e8044a2 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -686,6 +686,10 @@ in this use of the minibuffer.") (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 -- 2.39.2