emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r104806: Fix the last commit, do reve


From: Daiki Ueno
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104806: Fix the last commit, do revert-buffer when plstore-revert.
Date: Thu, 30 Jun 2011 18:53:21 +0900
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104806
committer: Daiki Ueno <address@hidden>
branch nick: trunk
timestamp: Thu 2011-06-30 18:53:21 +0900
message:
  Fix the last commit, do revert-buffer when plstore-revert.
modified:
  lisp/gnus/plstore.el
=== modified file 'lisp/gnus/plstore.el'
--- a/lisp/gnus/plstore.el      2011-06-30 09:45:44 +0000
+++ b/lisp/gnus/plstore.el      2011-06-30 09:53:21 +0000
@@ -123,6 +123,7 @@
 (defun plstore-revert (plstore)
   "Replace current data in PLSTORE with the file on disk."
   (with-current-buffer (plstore--get-buffer plstore)
+    (revert-buffer t t)
     ;; make the buffer invisible from user
     (rename-buffer (format " plstore %s" (buffer-file-name)))
     (goto-char (point-min))


reply via email to

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