]> git.eshelyaron.com Git - emacs.git/commitdiff
(hi-lock-unface-buffer): Show a x-menu only if the mouse was used.
authorMichaël Cadilhac <michael.cadilhac@lrde.org>
Sun, 26 Aug 2007 19:35:16 +0000 (19:35 +0000)
committerMichaël Cadilhac <michael.cadilhac@lrde.org>
Sun, 26 Aug 2007 19:35:16 +0000 (19:35 +0000)
lisp/ChangeLog
lisp/hi-lock.el

index fbdd5cd6ca5efb4eb9909191772493a90c138bfe..d0c4ff7c9134ed11909b99dae7ffa962892e6e44 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-26  Micha\e,bk\e(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
index 522a50b9a7fce4b5db3f6da5df7d8f5e559ea25d..b5e62e7a90947442ce45552820a55526138d4ff2 100644 (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