diff options
| author | Eli Zaretskii | 2001-08-31 17:53:03 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-08-31 17:53:03 +0000 |
| commit | 59b7ded8724b7f35c010150a268b0ef0d0342d17 (patch) | |
| tree | a4f948112fa2811b2745acab108d709fcb7db517 | |
| parent | 738421d1b77ad69c48b4b2ba6dd86615982f8060 (diff) | |
| download | emacs-59b7ded8724b7f35c010150a268b0ef0d0342d17.tar.gz emacs-59b7ded8724b7f35c010150a268b0ef0d0342d17.zip | |
Don't call x-popup-menu if display-popup-menus-p returns nil.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/hi-lock.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7600943c445..2c2eb84ba64 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-08-31 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * hi-lock.el (hi-lock-unface-buffer): Don't call x-popup-menu if | ||
| 4 | display-popup-menus-p returns nil. | ||
| 5 | |||
| 1 | 2001-08-31 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-08-31 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * isearch.el (isearch-mouse-2): Renamed from isearch-mouse-yank. | 8 | * isearch.el (isearch-mouse-2): Renamed from isearch-mouse-yank. |
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 86e62eea052..6c7fb5d0c58 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el | |||
| @@ -392,7 +392,7 @@ interactive functions. \(See `hi-lock-interactive-patterns'.\) | |||
| 392 | \\<minibuffer-local-must-match-map>Use \\[minibuffer-complete] to complete a partially typed regexp. | 392 | \\<minibuffer-local-must-match-map>Use \\[minibuffer-complete] to complete a partially typed regexp. |
| 393 | \(See info node `Minibuffer History'.\)" | 393 | \(See info node `Minibuffer History'.\)" |
| 394 | (interactive | 394 | (interactive |
| 395 | (if (vectorp (this-command-keys)) | 395 | (if (and (display-popup-menus-p) (vectorp (this-command-keys))) |
| 396 | (catch 'snafu | 396 | (catch 'snafu |
| 397 | (or | 397 | (or |
| 398 | (x-popup-menu | 398 | (x-popup-menu |