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

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

Re: OT: version control of .el files in NT Emacs


From: Óscar Fuentes
Subject: Re: OT: version control of .el files in NT Emacs
Date: Sun, 11 Sep 2016 01:01:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Sivaram Neelakantan <address@hidden> writes:

>> One thing I do is to use a separate file for customizations:
>>
>> (setq custom-file
>>   (concat (file-name-directory load-file-name) "customizations.el"))
>> (load custom-file 't)
>
> Sorry, I'm lost here; could you please give an example of your set up and how
> it helps.  I broke up my .emacs to manage the customisations for each
> mode.  How would your example help?

Do M-x customize

Change any value and then click on [State] and choose "Save for future
sessions". This will edit your $HOME/.emacs file (if you didn't set
`user-init-file') or your_el_repo/.emacs otherwise. I prefer to store
those customizations on its own file.




reply via email to

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