]> git.eshelyaron.com Git - emacs.git/commit
etags-regen-mode: Handle TAGS buffer being killed
authorDmitry Gutov <dmitry@gutov.dev>
Thu, 11 Jul 2024 00:49:06 +0000 (03:49 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 11 Jul 2024 14:39:18 +0000 (16:39 +0200)
commit2b9ac4b917e2db71f0d9d24f6f60bd8975f5e630
tree6eb2fd500a3d4e07678db7590d52bdab9b481b00
parent7acb8ba450cee86db0c00ff6daaf52704af39f16
etags-regen-mode: Handle TAGS buffer being killed

* lisp/progmodes/etags-regen.el (etags-regen--visit-table):
Use kill-buffer-hook to ensure a refresh if the TAGS buffer is
killed manually (bug#71727).
(etags-regen--tags-cleanup):
Bind the hook var to nil to avoid an infloop.

(cherry picked from commit 9331ab056a426b334d46c38659c9de2053eb45f3)
lisp/progmodes/etags-regen.el