]> code.delx.au - gnu-emacs/commitdiff
Fix the last commit, do revert-buffer when plstore-revert.
authorDaiki Ueno <ueno@unixuser.org>
Thu, 30 Jun 2011 09:53:21 +0000 (18:53 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Thu, 30 Jun 2011 09:53:21 +0000 (18:53 +0900)
lisp/gnus/plstore.el

index 703943934e83903ba12d627dc7f5a4155fab421b..392437d1dea8714ea438992b83914b63c4d362a2 100644 (file)
 (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))