[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using things from 'custom.el'
From: |
Michael Heerdegen |
Subject: |
Re: Using things from 'custom.el' |
Date: |
Thu, 27 Mar 2014 16:15:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Sharon Kimble <boudiccas@talktalk.net> writes:
> I have this line in my 'custom.el' - '(gnus-fetch-old-headers 300) but
> how do I call it from within gnus please.
For variables, in 99% of the cases, setq-default is the right thing to
use - in your case, for example, just
(setq-default gnus-fetch-old-headers 300)
In very rare cases, custom uses a specialized setter function and using
just setq-default won't work.
BTW, `setq-default' is like `setq', but always sets the default
(i.e. the global) binding of a variable even when it is buffer local.
Michael.