From: Eshel Yaron Date: Thu, 27 Jun 2024 19:17:03 +0000 (+0200) Subject: (tags-completion-at-point-function): Simplify autoloading X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0c6d502e5bfc7c467efb18e30c98e63a106df8fd;p=emacs.git (tags-completion-at-point-function): Simplify autoloading --- diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 597612196fd..bcff0de7e16 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -817,12 +817,7 @@ tags table for BUF and its (recursively) included tags tables." (tags-completion-table buf) string pred)))))) -;;;###autoload (defun tags-completion-at-point-function () -;;;###autoload (if (or tags-table-list tags-file-name) -;;;###autoload (progn -;;;###autoload (load "etags") -;;;###autoload (tags-completion-at-point-function)))) - +;;;###autoload (defun tags-completion-at-point-function () "Using tags, return a completion table for the text around point. If no tags table is loaded, do nothing and return nil."