From: Eli Zaretskii Date: Sat, 1 Feb 2025 13:44:47 +0000 (+0200) Subject: ; * lisp/progmodes/etags.el (tags-verify-table): Improve comment (bug#75946). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74408177790d75cfa78731adf5cf96006227fb59;p=emacs.git ; * lisp/progmodes/etags.el (tags-verify-table): Improve comment (bug#75946). (cherry picked from commit 20e3959dc37685334579394b320ab93f751243fb) --- diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index f025b649402..f3b5bdb4c8c 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -445,8 +445,9 @@ Returns non-nil if it is a valid table." (set-buffer (get-file-buffer file)) (or verify-tags-table-function (tags-table-mode)) (unless (or (verify-visited-file-modtime (current-buffer)) - ;; Avoid an infinte loop of questions about - ;; re-reading content if file was removed. + ;; 'verify-visited-file-modtime' return non-nil if + ;; the tags table file was meanwhile deleted. Avoid + ;; asking the question below again if so. (not (file-exists-p file)) ;; Decide whether to revert the file. ;; revert-without-query can say to revert