aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-11-21 15:58:33 +0000
committerMiles Bader2000-11-21 15:58:33 +0000
commit6e7d0ff7bc8ac16899501cebf9460bcfc26c9fb0 (patch)
treec06750c3cdf39e9a9db916575effceee4cfaf06b
parentcc64f5c9e6675dd0f9b0d50ad4bdcefdc9ccf3e6 (diff)
downloademacs-6e7d0ff7bc8ac16899501cebf9460bcfc26c9fb0.tar.gz
emacs-6e7d0ff7bc8ac16899501cebf9460bcfc26c9fb0.zip
(minibuffer-avoid-prompt): New function.
-rw-r--r--lisp/simple.el4
1 files changed, 4 insertions, 0 deletions
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.")
686(defun minibuffer-history-initialize () 686(defun minibuffer-history-initialize ()
687 (setq minibuffer-text-before-history nil)) 687 (setq minibuffer-text-before-history nil))
688 688
689(defun minibuffer-avoid-prompt (new old)
690 "A point-motion hook for the minibuffer, that moves point out of the prompt."
691 (constrain-to-field nil (point-max)))
692
689(defcustom minibuffer-history-case-insensitive-variables nil 693(defcustom minibuffer-history-case-insensitive-variables nil
690 "*Minibuffer history variables for which matching should ignore case. 694 "*Minibuffer history variables for which matching should ignore case.
691If a history variable is a member of this list, then the 695If a history variable is a member of this list, then the