]> git.eshelyaron.com Git - emacs.git/commit
Avoid infinite questions if TAGS file was removed
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>
Thu, 30 Jan 2025 14:09:48 +0000 (17:09 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 11:13:45 +0000 (12:13 +0100)
commit09f85e59ffce6b33953f49ee72b03cc4a5eeb8a6
treeb0eb2b21cc85a1fcce1b11ec5799fe8101e9790a
parent179451ce4508fe2d7e81eb2bda9baed343bc88a7
Avoid infinite questions if TAGS file was removed

When the visited TAGS file was removed, commands that depend on
TAGS, such as auto-completion, may invoke an interactive question
whether a user wants to re-read the file.  From that point on,
the question will be asked over and over, because the file no
longer exists, which results in mtime mismatch and inability to
"fix the mismatch" by reading from the file.  Fix that by simply
ignoring the mismatch if the file no longer exists.
* lisp/progmodes/etags.el (tags-verify-table): Avoid infinite
questions if TAGS file was removed.  (Bug#75946)

(cherry picked from commit eb12b6d153b8ad3f9e3fe23761a98021d8071293)
lisp/progmodes/etags.el