From 939d70190345618e4f5300429be1b799106b2b27 Mon Sep 17 00:00:00 2001 From: Karl Fogel Date: Thu, 19 Apr 2001 22:55:19 +0000 Subject: [PATCH] * 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 for the patch. --- lisp/saveplace.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lisp/saveplace.el b/lisp/saveplace.el index 5ac3f344c62..f5f5111f17b 100644 --- a/lisp/saveplace.el +++ b/lisp/saveplace.el @@ -143,10 +143,6 @@ To save places automatically in all files, put this in your `.emacs' file: (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 -- 2.39.2