aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno2011-06-30 18:53:21 +0900
committerDaiki Ueno2011-06-30 18:53:21 +0900
commitf11f303b274ad83055d9ad61925ca47fa36ea59e (patch)
treee7c9931cd94dd79aaefaaa31d61f5ed934567e4e
parent8a8cdb1992dc18d94a683753f57d47df5b1b54cc (diff)
downloademacs-f11f303b274ad83055d9ad61925ca47fa36ea59e.tar.gz
emacs-f11f303b274ad83055d9ad61925ca47fa36ea59e.zip
Fix the last commit, do revert-buffer when plstore-revert.
-rw-r--r--lisp/gnus/plstore.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/plstore.el b/lisp/gnus/plstore.el
index 703943934e8..392437d1dea 100644
--- a/lisp/gnus/plstore.el
+++ b/lisp/gnus/plstore.el
@@ -123,6 +123,7 @@
123(defun plstore-revert (plstore) 123(defun plstore-revert (plstore)
124 "Replace current data in PLSTORE with the file on disk." 124 "Replace current data in PLSTORE with the file on disk."
125 (with-current-buffer (plstore--get-buffer plstore) 125 (with-current-buffer (plstore--get-buffer plstore)
126 (revert-buffer t t)
126 ;; make the buffer invisible from user 127 ;; make the buffer invisible from user
127 (rename-buffer (format " plstore %s" (buffer-file-name))) 128 (rename-buffer (format " plstore %s" (buffer-file-name)))
128 (goto-char (point-min)) 129 (goto-char (point-min))