help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Configuration files vs customization


From: Jean Louis
Subject: Re: Configuration files vs customization
Date: Sat, 21 Jan 2023 23:08:35 +0300
User-agent: Mutt/2.2.9+54 (af2080d) (2022-11-21)

* Dr Rainer Woitok <rainer.woitok@gmail.com> [2023-01-21 11:34]:
> function "custom-set-variables" writes into my "custom.el" file, putting
> a call to "custom-set-variables"  together with the Vm specific customi-
> zation directly into configuration file ".vm" is not expected to work.

I use separate custom.el file where I never look inside.

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

which has on its end:

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

and I have variable:

 '(custom-file "~/.emacs.d/custom.el")

in "custom.el"

So that way you will separate custom.el and not have init.el
cluttered, and you can separate other options too.

-- 
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]