[Bug: 21.4.17] XEmacs eats customizations in .emacs file

Mike Sperber sperber at informatik.uni-tuebingen.de
Thu Aug 9 08:57:30 EDT 2007


Ralf Angeli <angeli at iwi.uni-sb.de> writes:

> When starting XEmacs without a .xemacs directory, but with a .emacs
> file being present, it asks if the .emacs file should be migrated to
> .xemacs/init.el.  If you answer "no" to this question, it will change
> and delete a lot of customizations in the .emacs file.

I know things take a long time out here, but here's finally a fix for
this.  Migration will now create a backup file of your .emacs if
possible.  (Leaving the old .emacs in place doesn't really
work---migration either wants to replace it or know that it's been
moved.)  Will apply Saturday if nobody objects.

2007-08-09  Mike Sperber  <mike at xemacs.org>

	* startup.el (migrate-user-init-file): Create backup of
	`user-init-file' before migrating.
	* startup.el (maybe-migrate-user-init-file): Print
	information about backup file.
	(maybe-create-compatibility-dot-emacs): Follow above change.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://calypso.tux.org/pipermail/xemacs-patches/attachments/20070809/eb297dc1/attachment-0001.pl 
-------------- next part --------------
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta at xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta


More information about the XEmacs-Patches mailing list