diff options
Diffstat (limited to 'lisp/saveplace.el')
-rw-r--r-- | lisp/saveplace.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/saveplace.el b/lisp/saveplace.el index f3b99e6cdd8..3211a055335 100644 --- a/lisp/saveplace.el +++ b/lisp/saveplace.el @@ -172,7 +172,7 @@ To save places automatically in all files, put this in your `.emacs' file: (delete-region (point-min) (point-max)) (insert-file-contents file) (goto-char (point-min)) - (setq save-place-alist + (setq save-place-alist (car (read-from-string (buffer-substring (point-min) (point-max))))) @@ -192,7 +192,7 @@ To save places automatically in all files, put this in your `.emacs' file: (setcdr s nil) (setq count (1+ count))) (setq s (cdr s)))))) - + (kill-buffer (current-buffer)) (message "Loading places from %s...done" file))) nil)))) |