From: <emacsnews@aleblanc.cotse.net>
To: help-gnu-emacs@gnu.org
Subject: Re: programatically save customization for future sessions
Date: Sat, 31 Jan 2009 22:31:44 +0000 [thread overview]
Message-ID: <8763jvnm3z.fsf@it.com> (raw)
In-Reply-To: P8Cdnav1Qfc38hnUnZ2dnUVZ_gOWnZ2d@sysmatrix.net
"B. T. Raven" <nihil@nihilo.net> writes:
> emacsnews@aleblanc.cotse.net wrote:
>> Hi ,
>> is there any function to save a variable customization for future
>> sessions (i.e. to the custom-set-variables section of my .emacs),
>> or do I have to write it myself?
>>
>> Just to clarify; I know how to save a customization manually from the
>> custom buffer, but I want to do this by calling a function from
>> within some other elisp code.
>>
>
>
> C-h f custom... will reveal a couple hundred custom- or customize-
> functions. It looks like customize-save-variable is a start.
>
> Ed
Thanks, that did the job.
I don't know why I didn't find that before.
--
aleblanc
next prev parent reply other threads:[~2009-01-31 22:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.6333.1233408608.26697.help-gnu-emacs@gnu.org>
2009-01-31 15:34 ` programatically save customization for future sessions Pascal J. Bourguignon
2009-01-31 22:36 ` emacsnews
2009-01-31 15:35 ` B. T. Raven
2009-01-31 22:31 ` emacsnews [this message]
2009-01-30 20:23 emacsnews
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8763jvnm3z.fsf@it.com \
--to=emacsnews@aleblanc.cotse.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).