From: Chong Yidong Date: Tue, 9 Aug 2011 21:55:34 +0000 (-0400) Subject: * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554). X-Git-Tag: emacs-pretest-24.0.90~104^3~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d96c9a4e700ad17921f8d2c90f4244bfa4b98b1;p=emacs.git * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a42c0127ff5..509978a8127 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-08-09 Chong Yidong + + * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec + (Bug#7554). + 2011-07-28 Andreas Schwab * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 31d62723281..7b2f5f51260 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -461,7 +461,9 @@ interactive functions. \(See `hi-lock-interactive-patterns'.\) \\Use \\[minibuffer-complete] to complete a partially typed regexp. \(See info node `Minibuffer History'.\)" (interactive - (if (and (display-popup-menus-p) (not last-nonmenu-event)) + (if (and (display-popup-menus-p) + (listp last-nonmenu-event) + use-dialog-box) (catch 'snafu (or (x-popup-menu