mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Update menu-bar-goto-uses-etags-p for the current xref API
* lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult xref-backend-functions, instead of now-nonexistent xref-find-function.
This commit is contained in:
parent
1e010227bb
commit
0887bdf90b
1 changed files with 2 additions and 3 deletions
|
|
@ -413,9 +413,8 @@
|
|||
menu))
|
||||
|
||||
(defun menu-bar-goto-uses-etags-p ()
|
||||
(if (boundp 'xref-find-function)
|
||||
(eq xref-find-function 'etags-xref-find)
|
||||
t))
|
||||
(or (not (boundp 'xref-backend-functions))
|
||||
(eq (car xref-backend-functions) 'etags--xref-backend)))
|
||||
|
||||
(defvar yank-menu (cons (purecopy "Select Yank") nil))
|
||||
(fset 'yank-menu (cons 'keymap yank-menu))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue