HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lisp/progmodes/sql.el (sql-add-product): Fix paren typo.
[bpt/emacs.git]
/
lisp
/
saveplace.el
diff --git
a/lisp/saveplace.el
b/lisp/saveplace.el
index
2ddac6d
..
e070a7d
100644
(file)
--- a/
lisp/saveplace.el
+++ b/
lisp/saveplace.el
@@
-255,8
+255,9
@@
may have changed\) back to `save-place-alist'."
(insert-file-contents file)
(goto-char (point-min))
(setq save-place-alist
(insert-file-contents file)
(goto-char (point-min))
(setq save-place-alist
- (car (read-from-string
- (buffer-substring (point-min) (point-max)))))
+ (with-demoted-errors "Error reading save-place-file: %S"
+ (car (read-from-string
+ (buffer-substring (point-min) (point-max))))))
;; If there is a limit, and we're over it, then we'll
;; have to truncate the end of the list:
;; If there is a limit, and we're over it, then we'll
;; have to truncate the end of the list: