1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

(hi-lock-unface-buffer): Show a x-menu only if the mouse was used.

This commit is contained in:
Michaël Cadilhac 2007-08-26 19:35:16 +00:00
parent f8a3deedc6
commit a2ab90da9d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-08-26 Micha,bk(Bl Cadilhac <michael@cadilhac.name>
* hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
was used.
2007-08-26 Sean O'Rourke <seano@cs.ucsd.edu>
* complete.el (PC-do-completion): Make RET accept a non-unique but

View File

@ -462,7 +462,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 (and (display-popup-menus-p) (vectorp (this-command-keys)))
(if (and (display-popup-menus-p) (not last-nonmenu-event))
(catch 'snafu
(or
(x-popup-menu