]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/progmodes/etags.el (tags-verify-table): Improve comment (bug#75946).
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Feb 2025 13:44:47 +0000 (15:44 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 11:13:47 +0000 (12:13 +0100)
(cherry picked from commit 20e3959dc37685334579394b320ab93f751243fb)

lisp/progmodes/etags.el

index f025b6494028f48ecd88b505bf43d1f6c2e774b5..f3b5bdb4c8c7e88c7cde9bb8e796a99f52f8c73f 100644 (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