mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-01 20:06:00 +00:00
Don't call x-popup-menu if display-popup-menus-p returns nil.
This commit is contained in:
parent
738421d1b7
commit
59b7ded872
@ -1,3 +1,8 @@
|
||||
2001-08-31 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* hi-lock.el (hi-lock-unface-buffer): Don't call x-popup-menu if
|
||||
display-popup-menus-p returns nil.
|
||||
|
||||
2001-08-31 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* isearch.el (isearch-mouse-2): Renamed from isearch-mouse-yank.
|
||||
|
@ -392,7 +392,7 @@ interactive functions. \(See `hi-lock-interactive-patterns'.\)
|
||||
\\<minibuffer-local-must-match-map>Use \\[minibuffer-complete] to complete a partially typed regexp.
|
||||
\(See info node `Minibuffer History'.\)"
|
||||
(interactive
|
||||
(if (vectorp (this-command-keys))
|
||||
(if (and (display-popup-menus-p) (vectorp (this-command-keys)))
|
||||
(catch 'snafu
|
||||
(or
|
||||
(x-popup-menu
|
||||
|
Loading…
x
Reference in New Issue
Block a user