diff options
| author | Miles Bader | 2000-11-21 15:58:33 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-11-21 15:58:33 +0000 |
| commit | 6e7d0ff7bc8ac16899501cebf9460bcfc26c9fb0 (patch) | |
| tree | c06750c3cdf39e9a9db916575effceee4cfaf06b | |
| parent | cc64f5c9e6675dd0f9b0d50ad4bdcefdc9ccf3e6 (diff) | |
| download | emacs-6e7d0ff7bc8ac16899501cebf9460bcfc26c9fb0.tar.gz emacs-6e7d0ff7bc8ac16899501cebf9460bcfc26c9fb0.zip | |
(minibuffer-avoid-prompt): New function.
| -rw-r--r-- | lisp/simple.el | 4 |
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. |
| 691 | If a history variable is a member of this list, then the | 695 | If a history variable is a member of this list, then the |