APPEND etags--xref-backend to xref-backend-functions
* lisp/progmodes/xref.el (xref-backend-functions): Use APPEND when adding the default element (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
This commit is contained in:
parent
cef6c89175
commit
f651cd1199
1 changed files with 3 additions and 2 deletions
|
@ -209,8 +209,9 @@ or an xref backend, which is a value to be used to dispatch the
|
|||
generic functions.")
|
||||
|
||||
;; We make the etags backend the default for now, until something
|
||||
;; better comes along.
|
||||
(add-hook 'xref-backend-functions #'etags--xref-backend)
|
||||
;; better comes along. Use APPEND so that any `add-hook' calls made
|
||||
;; before this package is loaded put new items before this one.
|
||||
(add-hook 'xref-backend-functions #'etags--xref-backend t)
|
||||
|
||||
;;;###autoload
|
||||
(defun xref-find-backend ()
|
||||
|
|
Loading…
Add table
Reference in a new issue