diff options
| author | Artur Malabarba | 2015-11-29 21:14:19 +0000 |
|---|---|---|
| committer | Artur Malabarba | 2015-11-29 21:14:19 +0000 |
| commit | 468659cd365f9bae7d6eeacda568800cb1f49e37 (patch) | |
| tree | 0df01b24a6690c9f4c157b4ee683e6786b54c9a8 | |
| parent | 285ed41605ca44794dd7fd16abf63eb3f8808238 (diff) | |
| download | emacs-468659cd365f9bae7d6eeacda568800cb1f49e37.tar.gz emacs-468659cd365f9bae7d6eeacda568800cb1f49e37.zip | |
* lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
| -rw-r--r-- | lisp/menu-bar.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 42f48c784e1..b2146bed3bd 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -413,8 +413,9 @@ | |||
| 413 | menu)) | 413 | menu)) |
| 414 | 414 | ||
| 415 | (defun menu-bar-goto-uses-etags-p () | 415 | (defun menu-bar-goto-uses-etags-p () |
| 416 | (or (not (boundp 'xref-find-function)) | 416 | (if (boundp 'xref-find-function) |
| 417 | (eq xref-find-function 'etags-xref-find))) | 417 | (eq xref-find-function 'etags-xref-find) |
| 418 | t)) | ||
| 418 | 419 | ||
| 419 | (defvar yank-menu (cons (purecopy "Select Yank") nil)) | 420 | (defvar yank-menu (cons (purecopy "Select Yank") nil)) |
| 420 | (fset 'yank-menu (cons 'keymap yank-menu)) | 421 | (fset 'yank-menu (cons 'keymap yank-menu)) |