1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-17 05:30:43 -08: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))