aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/xref.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 8a69b07132e..397f379d434 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -209,8 +209,9 @@ or an xref backend, which is a value to be used to dispatch the
209generic functions.") 209generic functions.")
210 210
211;; We make the etags backend the default for now, until something 211;; We make the etags backend the default for now, until something
212;; better comes along. 212;; better comes along. Use APPEND so that any `add-hook' calls made
213(add-hook 'xref-backend-functions #'etags--xref-backend) 213;; before this package is loaded put new items before this one.
214(add-hook 'xref-backend-functions #'etags--xref-backend t)
214 215
215;;;###autoload 216;;;###autoload
216(defun xref-find-backend () 217(defun xref-find-backend ()