Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to save customized variable to a given file?

Tags:

emacs

emacs24

By default, emacs saves all customized variables to .emacs file. Yet I want to save it in a separate file for easy management. Is there any way to configure this behavior in Emacs 24

like image 473
Truong Ha Avatar asked Mar 25 '26 00:03

Truong Ha


1 Answers

Try this:

(setq custom-file "~/.emacs-custom.el")
like image 125
abo-abo Avatar answered Mar 26 '26 17:03

abo-abo