aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-24 01:22:40 +0000
committerRichard M. Stallman1993-11-24 01:22:40 +0000
commit4b43d418f3cd39f662b907f166eed41639ac3226 (patch)
tree5ed654178232790d7b3a1215d1e008e3d8965b14
parentec9d0f508c29c7771a963a79b93a7a0cbc9d22c1 (diff)
downloademacs-4b43d418f3cd39f662b907f166eed41639ac3226.tar.gz
emacs-4b43d418f3cd39f662b907f166eed41639ac3226.zip
(isearch-other-meta-char): Correct the test for a split-up
mode line or scroll bar mouse event.
-rw-r--r--lisp/isearch.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 4330848b6bd..c7e84b7f9b0 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> 5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
6 6
7;; |$Date: 1993/10/09 20:03:33 $|$Revision: 1.51 $ 7;; |$Date: 1993/10/24 04:05:22 $|$Revision: 1.52 $
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10 10
@@ -1001,7 +1001,9 @@ and the meta character is unread so that it applies to editing the string."
1001 (and (> (length key) 1) 1001 (and (> (length key) 1)
1002 (symbolp (aref key 0)) 1002 (symbolp (aref key 0))
1003 (listp (aref key 1)) 1003 (listp (aref key 1))
1004 (consp (posn-point (event-start (aref key 1)))) 1004 ;; These events now have a symbol; they used to have a list.
1005 ;; Accept either one. Other events have a number here.
1006 (not (numberp (posn-point (event-start (aref key 1)))))
1005 (setq index 1)) 1007 (setq index 1))
1006 ;; If we got a mouse click, maybe it was read with the buffer 1008 ;; If we got a mouse click, maybe it was read with the buffer
1007 ;; it was clicked on. If so, that buffer, not the current one, 1009 ;; it was clicked on. If so, that buffer, not the current one,