summaryrefslogtreecommitdiff
path: root/lisp/gnus/plstore.el
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@unixuser.org>2011-06-30 18:53:21 +0900
committerDaiki Ueno <ueno@unixuser.org>2011-06-30 18:53:21 +0900
commitf11f303b274ad83055d9ad61925ca47fa36ea59e (patch)
treee7c9931cd94dd79aaefaaa31d61f5ed934567e4e /lisp/gnus/plstore.el
parent8a8cdb1992dc18d94a683753f57d47df5b1b54cc (diff)
downloademacs-f11f303b274ad83055d9ad61925ca47fa36ea59e.tar.gz
emacs-f11f303b274ad83055d9ad61925ca47fa36ea59e.tar.bz2
emacs-f11f303b274ad83055d9ad61925ca47fa36ea59e.zip
Fix the last commit, do revert-buffer when plstore-revert.
Diffstat (limited to 'lisp/gnus/plstore.el')
-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 @@
(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))