etags--xref-backend: Move the definition to autoloads

* lisp/progmodes/etags.el (etags--xref-backend):
Move the definition to autoloads, so that etags.el doesn't have to
be loaded before it really is used.
This commit is contained in:
Dmitry Gutov
2026-02-07 02:06:52 +02:00
parent b37711a25f
commit cc9fea52a3

View File

@@ -2114,7 +2114,11 @@ file name, add `tag-partial-file-name-match-p' to the list value.")
:type 'boolean
:version "28.1")
;;;###autoload
;;;###autoload (defun etags--xref-backend ()
;;;###autoload (when (or tags-table-list tags-file-name)
;;;###autoload (load "etags")
;;;###autoload 'etags))
(defun etags--xref-backend ()
(when (or tags-table-list tags-file-name)
'etags))