projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74deafe
)
Fix Help functions for clicks on tool bar and tab bar
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 14 Oct 2021 09:29:43 +0000
(12:29 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 14 Oct 2021 09:29:43 +0000
(12:29 +0300)
* lisp/mouse.el (mouse-minibuffer-check): Don't assume posn-window
returns a window. (Bug#5199)
lisp/mouse.el
patch
|
blob
|
history
diff --git
a/lisp/mouse.el
b/lisp/mouse.el
index bb47d04a3a862b2ff1af5928310dd5bd090ec372..bcb58d153a836c8aba5190369253e52ef48d88ba 100644
(file)
--- a/
lisp/mouse.el
+++ b/
lisp/mouse.el
@@
-571,7
+571,8
@@
This is the keyboard interface to \\[context-menu-map]."
(defun mouse-minibuffer-check (event)
(let ((w (posn-window (event-start event))))
- (and (window-minibuffer-p w)
+ (and (windowp w)
+ (window-minibuffer-p w)
(not (minibuffer-window-active-p w))
(user-error "Minibuffer window is not active")))
;; Give temporary modes such as isearch a chance to turn off.