* bug#7581: custom-save-* can print wrong.
@ 2010-12-07 16:48 Tom Breton (Tehom)
2010-12-08 3:35 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Tom Breton (Tehom) @ 2010-12-07 16:48 UTC (permalink / raw
To: 7581
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
`customize-save-variable' resulted in an .emacs.custom file containing
many `...' symbols. I deem that serious.
I believe this was due to `print-level' being non-nil, and I have attached
a patch that seems to fix this.
[-- Attachment #2: custom-save-diff --]
[-- Type: application/octet-stream, Size: 944 bytes --]
diff -c -b -L /su:localhost:/usr/share/emacs/22.2/lisp/old-cus-edit.el -L /su:localhost:/usr/share/emacs/22.2/lisp/cus-edit.el /tmp/tramp.2738gnN.el /tmp/tramp.2738txT.el
*** /su:localhost:/usr/share/emacs/22.2/lisp/old-cus-edit.el
--- /su:localhost:/usr/share/emacs/22.2/lisp/cus-edit.el
***************
*** 4212,4218 ****
(or old-buffer (find-file-noselect filename)))
(unless (eq major-mode 'emacs-lisp-mode)
(emacs-lisp-mode))
! (let ((inhibit-read-only t))
(custom-save-variables)
(custom-save-faces))
(let ((file-precious-flag t))
--- 4212,4220 ----
(or old-buffer (find-file-noselect filename)))
(unless (eq major-mode 'emacs-lisp-mode)
(emacs-lisp-mode))
! (let ((inhibit-read-only t)
! (print-length nil)
! (print-level nil))
(custom-save-variables)
(custom-save-faces))
(let ((file-precious-flag t))
Diff finished. Tue Dec 7 11:39:28 2010
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#7581: custom-save-* can print wrong.
2010-12-07 16:48 bug#7581: custom-save-* can print wrong Tom Breton (Tehom)
@ 2010-12-08 3:35 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2010-12-08 3:35 UTC (permalink / raw
To: 7581-done
Version: 23.3
Thanks; applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-08 3:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-07 16:48 bug#7581: custom-save-* can print wrong Tom Breton (Tehom)
2010-12-08 3:35 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.