[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/etags-regen 94437f9: Avoid the 'unsaved buffer' prompt at quit
From: |
Dmitry Gutov |
Subject: |
scratch/etags-regen 94437f9: Avoid the 'unsaved buffer' prompt at quit |
Date: |
Sun, 13 Dec 2020 22:36:09 -0500 (EST) |
branch: scratch/etags-regen
commit 94437f9d262f660b5b21bd259cc35dfda170c368
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
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 a12dae1..0072360 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- scratch/etags-regen 94437f9: Avoid the 'unsaved buffer' prompt at quit,
Dmitry Gutov <=