[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c87c2ca: Do not prompt twice to save a buffer
From: |
Tino Calancha |
Subject: |
[Emacs-diffs] master c87c2ca: Do not prompt twice to save a buffer |
Date: |
Sun, 26 Jun 2016 01:55:48 +0000 (UTC) |
branch: master
commit c87c2cad94ab0570846015dcef91a38e84317be9
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>
Do not prompt twice to save a buffer
* lisp/hilit-chg.el (highlight-markup-buffers): (Bug#23824).
---
lisp/hilit-chg.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el
index 6420b8c..1e4deb9 100644
--- a/lisp/hilit-chg.el
+++ b/lisp/hilit-chg.el
@@ -777,7 +777,7 @@ is non-nil."
a-start a-end len-a
b-start b-end len-b
(bufa-modified (buffer-modified-p buf-a))
- (bufb-modified (buffer-modified-p buf-b))
+ (bufb-modified (and (not (eq buf-a buf-b)) (buffer-modified-p
buf-b)))
(buf-a-read-only (with-current-buffer buf-a buffer-read-only))
(buf-b-read-only (with-current-buffer buf-b buffer-read-only))
temp-a temp-b)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master c87c2ca: Do not prompt twice to save a buffer,
Tino Calancha <=