diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2016-06-26 10:54:29 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2016-06-26 10:54:29 +0900 |
commit | c87c2cad94ab0570846015dcef91a38e84317be9 (patch) | |
tree | 8505869a31d5787e820cbaab9fea3ea1207b4123 /lisp/hilit-chg.el | |
parent | f7df85a8d103e49cdfe1e510a7ad9f03dc1f9ee5 (diff) | |
download | emacs-c87c2cad94ab0570846015dcef91a38e84317be9.tar.gz |
Do not prompt twice to save a buffer
* lisp/hilit-chg.el (highlight-markup-buffers): (Bug#23824).
Diffstat (limited to 'lisp/hilit-chg.el')
-rw-r--r-- | lisp/hilit-chg.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el index 6420b8c68b3..1e4deb9353e 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) |