Followup: [PATCH] fix corruption of ~/.emacs when trying to migrate an init file XEmacs can't fully load

Jason Spiro jasonspiro4 at gmail.com
Wed Oct 31 21:19:54 EDT 2007


A month ago, I wrote:
...
> This is a patch for a preference-corruption issue.
...
> --- xemacs-21.5.27/lisp/cus-edit.el.orig        Tue Jun 26 04:10:18 2007
> +++ xemacs-21.5.27/lisp/cus-edit.el     Tue Jun 26 04:14:52 2007
> @@ -3756,6 +3756,8 @@
>  ;;;###autoload
>  (defun custom-save-all ()
>    "Save all customizations in `custom-file'."
> +  (when init-file-had-error
> +    (error "Cannot save customizations; init file was not fully loaded"))
>    (let ((inhibit-read-only t))
>      (custom-save-variables)
>      (custom-save-faces)
> 

It seems this has not been applied yet.[1]  Would someone please be so kind as
to review it?

Regards,
Jason

^ [1]. according to http://cvs.xemacs.org/viewcvs.cgi/XEmacs/xemacs/lisp/cus-edit.el



More information about the XEmacs-Beta mailing list