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

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

Re: is custom-set-variables saved somewhere?


From: tomas
Subject: Re: is custom-set-variables saved somewhere?
Date: Wed, 3 Feb 2016 14:53:03 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Feb 03, 2016 at 08:51:09AM -0500, Neal Becker wrote:
> at the end of .emacs is :
> 
> (custom-set-variables ... )
> 
> I'd like to somehow be able to re-execute this automatically later.  Is 
> there some way to do this?  Is this set of customized variables saved 
> somewhere so I can re-execute all the settings?

I don't think so -- but you can achieve a similar effect with some
forethought. It is possible to tell Emacs to keep the customizations
in a separate file (not in the standard init file) by setting the
variable "custom-file".

You have to "bootstrap" this thing by including something in your
init file along the lines of

  (setq custom-file "~/.emacs-custom.el")
  (load custom-file)

(cf. the variable's documentation for "custom-file").

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlayBj8ACgkQBcgs9XrR2kaVSwCeO0EVCPs8uucGyjJHLpql3jPj
7SEAn0nEjiqDef4HYu6QMiR+8TyOUXCw
=gwc/
-----END PGP SIGNATURE-----



reply via email to

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