Mercurial > hg > xemacs-beta
comparison lisp/cus-edit.el @ 4257:ef6c55ab3090
[xemacs-hg @ 2007-11-08 14:43:38 by aidan]
Fix corruption of ~/.emacs when trying to migrate an init file;
thank you Jason Spiro!
author | aidan |
---|---|
date | Thu, 08 Nov 2007 14:43:40 +0000 |
parents | e687f1912d5b |
children | 20accccbebd6 |
comparison
equal
deleted
inserted
replaced
4256:1dabc28c10d0 | 4257:ef6c55ab3090 |
---|---|
3754 (custom-save-all)) | 3754 (custom-save-all)) |
3755 | 3755 |
3756 ;;;###autoload | 3756 ;;;###autoload |
3757 (defun custom-save-all () | 3757 (defun custom-save-all () |
3758 "Save all customizations in `custom-file'." | 3758 "Save all customizations in `custom-file'." |
3759 (when init-file-had-error | |
3760 (error 'invalid-change | |
3761 "Cannot save customizations; init file was not fully loaded")) | |
3759 (let ((inhibit-read-only t)) | 3762 (let ((inhibit-read-only t)) |
3760 (custom-save-variables) | 3763 (custom-save-variables) |
3761 (custom-save-faces) | 3764 (custom-save-faces) |
3762 (let ((find-file-hooks nil) | 3765 (let ((find-file-hooks nil) |
3763 (auto-mode-alist)) | 3766 (auto-mode-alist)) |