From: Michael Ekstrand <michael@elehack.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Kill Customize Entries in .emacs
Date: Sun, 25 Jan 2009 22:19:52 -0600 [thread overview]
Message-ID: <873af61yxj.fsf@elehack.net> (raw)
In-Reply-To: NcudnSyM6_vcr-DUnZ2dnUVZ_h2WnZ2d@giganews.com
Les Harris <me@lesharris.com> writes:
> I have not yet figured out the trigger but often emacs is writing
> entries for custom-set-variables and custom-set-faces into my .emacs
> file.
>
> I prefer not to use the customization system in emacs and would like
> these entries to never appear in my init file.
>
> Is there anyway to stop emacs from trying to insert these things?
The variable `custom-file' controls where your customizations are
saved. You can set this to some other file, in which case
customizations that get set by various means will accumulate in that
other file, but will not clutter your .emacs.
You could try setting `custom-file' to /dev/null. I do not know what
would happen in this case, as I have never tested it, but I would expect
it to cause Emacs to happily make saving customizations a no-op on
Unix-like systems.
- Michael
--
mouse, n: A device for pointing at the xterm in which you want to type.
next prev parent reply other threads:[~2009-01-26 4:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 3:47 Kill Customize Entries in .emacs Les Harris
2009-01-26 4:19 ` Michael Ekstrand [this message]
2009-01-26 4:29 ` Les Harris
2009-01-26 18:34 ` Drew Adams
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=873af61yxj.fsf@elehack.net \
--to=michael@elehack.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).