From 0c6d502e5bfc7c467efb18e30c98e63a106df8fd Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 27 Jun 2024 21:17:03 +0200 Subject: [PATCH] (tags-completion-at-point-function): Simplify autoloading --- lisp/progmodes/etags.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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." -- 2.39.2