* lisp/cus-edit.el (custom-save-all): Bind print-length and print-level to nil.
authorTom Breton <tehom@panix.com>
Wed, 8 Dec 2010 03:36:01 +0000 (19:36 -0800)
committerGlenn Morris <rgm@gnu.org>
Wed, 8 Dec 2010 03:36:01 +0000 (19:36 -0800)
Fixes: debbugs:7581

lisp/ChangeLog
lisp/cus-edit.el

index 1805c06..ba9ae09 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-08  Tom Breton  <tehom@panix.com>
+
+       * cus-edit.el (custom-save-all):
+       Bind print-length and print-level to nil.  (Bug#7581)
+
 2010-12-08  Glenn Morris  <rgm@gnu.org>
 
        * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
index b815e31..4046009 100644 (file)
@@ -4279,7 +4279,9 @@ if only the first line of the docstring is shown."))
 
       (unless (eq major-mode 'emacs-lisp-mode)
        (emacs-lisp-mode))
-      (let ((inhibit-read-only t))
+      (let ((inhibit-read-only t)
+           (print-length nil)
+           (print-level nil))
        (custom-save-variables)
        (custom-save-faces))
       (let ((file-precious-flag t))