diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-11-29 21:14:19 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-11-29 21:14:19 +0000 |
commit | 468659cd365f9bae7d6eeacda568800cb1f49e37 (patch) | |
tree | 0df01b24a6690c9f4c157b4ee683e6786b54c9a8 /lisp/menu-bar.el | |
parent | 285ed41605ca44794dd7fd16abf63eb3f8808238 (diff) | |
download | emacs-468659cd365f9bae7d6eeacda568800cb1f49e37.tar.gz |
* lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
Diffstat (limited to 'lisp/menu-bar.el')
-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 @@ menu)) (defun menu-bar-goto-uses-etags-p () - (or (not (boundp 'xref-find-function)) - (eq xref-find-function 'etags-xref-find))) + (if (boundp 'xref-find-function) + (eq xref-find-function 'etags-xref-find) + t)) (defvar yank-menu (cons (purecopy "Select Yank") nil)) (fset 'yank-menu (cons 'keymap yank-menu)) |