summaryrefslogtreecommitdiff
path: root/lisp/saveplace.el
diff options
context:
space:
mode:
authorKarl Fogel <kfogel@red-bean.com>2004-06-08 00:36:04 +0000
committerKarl Fogel <kfogel@red-bean.com>2004-06-08 00:36:04 +0000
commit5f29a6c8cc0a8ef25998bd1432cd7091728c87a2 (patch)
tree11c61b983f6fee68bfceec4c4ee2395598d789c0 /lisp/saveplace.el
parent0aa99669e388bc86a28bed751b4b11d78c859d36 (diff)
downloademacs-5f29a6c8cc0a8ef25998bd1432cd7091728c87a2.tar.gz
* saveplace.el (save-place-alist-to-file): Bind `print-length'
and `print-level' to nil when writing out `save-place-alist'. Thanks to Kai Grossjohann <kai@emptydomain.de> for enlightenment.
Diffstat (limited to 'lisp/saveplace.el')
-rw-r--r--lisp/saveplace.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/saveplace.el b/lisp/saveplace.el
index 3e40f118a41..249bdfe00e3 100644
--- a/lisp/saveplace.el
+++ b/lisp/saveplace.el
@@ -207,7 +207,9 @@ may have changed\) back to `save-place-alist'."
(delete-region (point-min) (point-max))
(when save-place-forget-unreadable-files
(save-place-forget-unreadable-files))
- (print save-place-alist (current-buffer))
+ (let ((print-length nil)
+ (print-level nil))
+ (print save-place-alist (current-buffer)))
(let ((version-control
(cond
((null save-place-version-control) nil)