; * lisp/progmodes/etags.el (tags-verify-table): Improve comment (bug#75946).

This commit is contained in:
Eli Zaretskii 2025-02-01 15:44:47 +02:00
parent eb12b6d153
commit 20e3959dc3

View file

@ -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