diff options
| author | Richard M. Stallman | 1992-10-27 04:11:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-10-27 04:11:46 +0000 |
| commit | d94307ee8611b58719feef667ed9bf3427678459 (patch) | |
| tree | 6a9c2ae153070fc02786f2f58efc15db79e357ef | |
| parent | 763ab97aec666a1a1583dc609fcaea03d934a1fe (diff) | |
| download | emacs-d94307ee8611b58719feef667ed9bf3427678459.tar.gz emacs-d94307ee8611b58719feef667ed9bf3427678459.zip | |
(isearch-edit-string):
Bind cursor-in-echo-area only around read-char/allocate-event.
| -rw-r--r-- | lisp/isearch.el | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 5aabff1ccf9..d3231ba961e 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | ;; LCD Archive Entry: | 4 | ;; LCD Archive Entry: |
| 5 | ;; isearch-mode|Daniel LaLiberte|liberte@cs.uiuc.edu | 5 | ;; isearch-mode|Daniel LaLiberte|liberte@cs.uiuc.edu |
| 6 | ;; |A minor mode replacement for isearch.el. | 6 | ;; |A minor mode replacement for isearch.el. |
| 7 | ;; |$Date: 1992/10/11 05:25:11 $|$Revision: 1.11 $|~/modes/isearch-mode.el | 7 | ;; |$Date: 1992/10/20 21:21:47 $|$Revision: 1.12 $|~/modes/isearch-mode.el |
| 8 | 8 | ||
| 9 | ;; This file is not yet part of GNU Emacs, but it is based almost | 9 | ;; This file is not yet part of GNU Emacs, but it is based almost |
| 10 | ;; entirely on isearch.el which is part of GNU Emacs. | 10 | ;; entirely on isearch.el which is part of GNU Emacs. |
| @@ -88,8 +88,12 @@ | |||
| 88 | ;;;==================================================================== | 88 | ;;;==================================================================== |
| 89 | ;;; Change History | 89 | ;;; Change History |
| 90 | 90 | ||
| 91 | ;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch-mode.el,v 1.11 1992/10/11 05:25:11 rms Exp rms $ | 91 | ;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch-mode.el,v 1.12 1992/10/20 21:21:47 rms Exp rms $ |
| 92 | ;;; $Log: isearch-mode.el,v $ | 92 | ;;; $Log: isearch-mode.el,v $ |
| 93 | ; Revision 1.12 1992/10/20 21:21:47 rms | ||
| 94 | ; (isearch-mode-map): Make the top-level keymap dense. | ||
| 95 | ; Explicitly bind control characters at that level. | ||
| 96 | ; | ||
| 93 | ; Revision 1.11 1992/10/11 05:25:11 rms | 97 | ; Revision 1.11 1992/10/11 05:25:11 rms |
| 94 | ; (isearch-ring-advance-edit): Delete spurious `)'. | 98 | ; (isearch-ring-advance-edit): Delete spurious `)'. |
| 95 | ; | 99 | ; |
| @@ -704,8 +708,9 @@ If first char entered is \\[isearch-yank-word], then do word search instead." | |||
| 704 | (unwind-protect | 708 | (unwind-protect |
| 705 | (let* (;; Why does following read-char echo? | 709 | (let* (;; Why does following read-char echo? |
| 706 | ;;(echo-keystrokes 0) ;; not needed with above message | 710 | ;;(echo-keystrokes 0) ;; not needed with above message |
| 707 | (cursor-in-echo-area t) | 711 | (e (let ((cursor-in-echo-area t)) |
| 708 | (e (if isearch-event-data-type (allocate-event) (read-char))) | 712 | (if isearch-event-data-type |
| 713 | (allocate-event) (read-char)))) | ||
| 709 | ;; Binding minibuffer-history-symbol to nil is a work-around | 714 | ;; Binding minibuffer-history-symbol to nil is a work-around |
| 710 | ;; for some incompatibility with gmhist. | 715 | ;; for some incompatibility with gmhist. |
| 711 | (minibuffer-history-symbol)) | 716 | (minibuffer-history-symbol)) |