changeset 37408:33067598c22c

* saveplace.el (save-place-alist-to-file): Removed no-effect code that inserted file content only to delete it immediately. Probably a cut-and-paste bug. Thanks to Juanma Barranquero <lektu@uol.com.br> for the patch.
author Karl Fogel <kfogel@red-bean.com>
date Thu, 19 Apr 2001 22:55:19 +0000
parents c8fb52b4feff
children 9781f3a3c955
files lisp/saveplace.el
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/saveplace.el	Thu Apr 19 22:45:04 2001 +0000
+++ b/lisp/saveplace.el	Thu Apr 19 22:55:19 2001 +0000
@@ -143,10 +143,6 @@
       (message "Saving places to %s..." file)
       (set-buffer (get-buffer-create " *Saved Places*"))
       (delete-region (point-min) (point-max))
-      (if (file-readable-p file)
-          (insert-file-contents file))
-      (delete-region (point-min) (point-max))
-      (goto-char (point-min))
       (print save-place-alist (current-buffer))
       (let ((version-control
              (cond