emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: [External] : Re: Propose to add setup-wizard.el to ELPA


From: Jean Louis
Subject: Re: FW: [External] : Re: Propose to add setup-wizard.el to ELPA
Date: Fri, 7 Jan 2022 13:34:31 +0300
User-agent: Mutt/2.0.7+183 (3d24855) (2021-05-28)

* Stefan Kangas <stefankangas@gmail.com> [2022-01-03 22:24]:
> Sean Whitton <spwhitton@spwhitton.name> writes:
> 
> > On Sun 02 Jan 2022 at 05:14pm -05, Stefan Kangas wrote:
> >
> >> Drew Adams <drew.adams@oracle.com> writes:
> >>
> >>> Customize should not write to your init file ...  That's a bad Emacs
> >>> design choice, IMO.  It especially should not be the default behavior.
> >>
> >> +1, FWIW.
> >
> > Hmm, then where should it write to?
> 
> IMO, something like
> 
> (setq custom-file (locate-user-emacs-file "custom-file.el"))

I have in ~/.emacs.d/init.el:

(load "~/.emacs.d/custom.el")

and in ~/.emacs.d/custom.el I have:
 '(custom-file "~/.emacs.d/custom.el")

and that works well. Customized options are written in  '(custom-file 
"~/.emacs.d/custom.el")

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]