emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 01/10: [gnugo] Indicate buffer not modified after load.


From: Thien-Thi Nguyen
Subject: [elpa] 01/10: [gnugo] Indicate buffer not modified after load.
Date: Sat, 15 Feb 2014 11:58:30 +0000

ttn pushed a commit to branch ttn-gnugo
in repository elpa.

commit ba818278b3777c2dc4c570ca09e7ea6e84b411ef
Author: Thien-Thi Nguyen <address@hidden>
Date:   Tue Feb 11 10:22:15 2014 +0100

    [gnugo] Indicate buffer not modified after load.
    
    * packages/gnugo/gnugo.el (gnugo-read-sgf-file):
    Clear buffer-modified state at end.
---
 packages/gnugo/ChangeLog |    7 +++++++
 packages/gnugo/gnugo.el  |    1 +
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/packages/gnugo/ChangeLog b/packages/gnugo/ChangeLog
index 09c6f00..e901f41 100644
--- a/packages/gnugo/ChangeLog
+++ b/packages/gnugo/ChangeLog
@@ -1,3 +1,10 @@
+2014-02-11  Thien-Thi Nguyen  <address@hidden>
+
+       [gnugo] Indicate buffer not modified after load.
+
+       * gnugo.el (gnugo-read-sgf-file):
+       Clear buffer-modified state at end.
+
 2014-02-07  Thien-Thi Nguyen  <address@hidden>
 
        [gnugo int] Drop leading "*" in docstrings.
diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index 8f218ed..593aba2 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1278,6 +1278,7 @@ If FILENAME already exists, Emacs confirms that you wish 
to overwrite it."
                  t)
         (gnugo-close-game nil game-over)))
     (gnugo-refresh t)
+    (set-buffer-modified-p nil)
     (message "GNU Go %splays as %s, you as %s (%s)"
              (if samep "" "now ")
              wait play (if samep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]