]> code.delx.au - gnu-emacs/blobdiff - lisp/hi-lock.el
Minor fixes for text of help-echo in some options.
[gnu-emacs] / lisp / hi-lock.el
index 86e62eea052af1667435b2d71554edb0b4165ab6..6c7fb5d0c5854b42c5c1273c1648556d5ec97daa 100644 (file)
@@ -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