aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichaël Cadilhac2007-08-26 19:35:16 +0000
committerMichaël Cadilhac2007-08-26 19:35:16 +0000
commita2ab90da9d0739946f9bf65ca9ada0cf6f8889cb (patch)
treeb264898a5023418d38299de19aaa5df662d11bb2
parentf8a3deedc67daa49179133d682718fe2e7f09c9a (diff)
downloademacs-a2ab90da9d0739946f9bf65ca9ada0cf6f8889cb.tar.gz
emacs-a2ab90da9d0739946f9bf65ca9ada0cf6f8889cb.zip
(hi-lock-unface-buffer): Show a x-menu only if the mouse was used.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/hi-lock.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fbdd5cd6ca5..d0c4ff7c913 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-08-26 Micha,bk(Bl Cadilhac <michael@cadilhac.name>
2
3 * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
4 was used.
5
12007-08-26 Sean O'Rourke <seano@cs.ucsd.edu> 62007-08-26 Sean O'Rourke <seano@cs.ucsd.edu>
2 7
3 * complete.el (PC-do-completion): Make RET accept a non-unique but 8 * complete.el (PC-do-completion): Make RET accept a non-unique but
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index 522a50b9a7f..b5e62e7a909 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -462,7 +462,7 @@ interactive functions. \(See `hi-lock-interactive-patterns'.\)
462\\<minibuffer-local-must-match-map>Use \\[minibuffer-complete] to complete a partially typed regexp. 462\\<minibuffer-local-must-match-map>Use \\[minibuffer-complete] to complete a partially typed regexp.
463\(See info node `Minibuffer History'.\)" 463\(See info node `Minibuffer History'.\)"
464 (interactive 464 (interactive
465 (if (and (display-popup-menus-p) (vectorp (this-command-keys))) 465 (if (and (display-popup-menus-p) (not last-nonmenu-event))
466 (catch 'snafu 466 (catch 'snafu
467 (or 467 (or
468 (x-popup-menu 468 (x-popup-menu