1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

Fix the last commit, do revert-buffer when plstore-revert.

This commit is contained in:
Daiki Ueno 2011-06-30 18:53:21 +09:00
parent 8a8cdb1992
commit f11f303b27

View File

@ -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))