From 468659cd365f9bae7d6eeacda568800cb1f49e37 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sun, 29 Nov 2015 21:14:19 +0000 Subject: * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning --- lisp/menu-bar.el | 5 +++-- 1 file 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)) -- cgit v1.2.1