From 94437f9d262f660b5b21bd259cc35dfda170c368 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 14 Dec 2020 05:35:59 +0200 Subject: [PATCH] Avoid the 'unsaved buffer' prompt at quit --- lisp/progmodes/etags.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index a12dae141d3..00723608da9 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -2251,6 +2251,7 @@ file name, add `tag-partial-file-name-match-p' to the list value.") ;; backing on disk. (write-region current-end (point-max) etags--project-tags-file t)) (set-visited-file-modtime) + (set-buffer-modified-p nil) ;; FIXME: Is there a better way to do this? ;; Completion table is the only remaining place where the ;; update is not incremental.