[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: custom-set-variables fails to set variable
From: |
Bill Wohler |
Subject: |
Re: custom-set-variables fails to set variable |
Date: |
Thu, 10 Nov 2005 16:37:54 -0800 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Luc Teirlinck <address@hidden> writes:
> custom-set-variables defvar defcustom:
>
> The defvar wins.
Thanks very much for the explanation. Too bad I didn't read this
before sending my last note.
I evidently got confused when I ran my last test. After loading MH-E,
I found that the list I previously posted was reduced to the following:
mh-inc-folder-hook
mh-letter-mode-hook
mh-show-mode-hook
I'm still a bit confused though. For example, mh-show-mode-hook is
defined implicitly by the definition of mh-show-mode in mh-utils.el
which requires mh-customize.el which contains the defcustom of
mh-show-mode-hook. Shouldn't that defcustom have won against the
defvar in the mh-show-mode?
I'd still be curious to hear the opinions on whether one should use
the ;;;###autoload cookie on the defcustoms or not.
Also, why does the same code work in Emacs 21 and not in Emacs 22?
--
Bill Wohler <address@hidden> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
- custom-set-variables fails to set variable, Bill Wohler, 2005/11/10
- Re: custom-set-variables fails to set variable, Luc Teirlinck, 2005/11/10
- Re: custom-set-variables fails to set variable,
Bill Wohler <=
- Re: custom-set-variables fails to set variable, Luc Teirlinck, 2005/11/10
- Re: custom-set-variables fails to set variable, Luc Teirlinck, 2005/11/10
- Re: custom-set-variables fails to set variable, Bill Wohler, 2005/11/10
- Re: custom-set-variables fails to set variable, Stefan Monnier, 2005/11/10
- Re: custom-set-variables fails to set variable, Bill Wohler, 2005/11/11
- Re: custom-set-variables fails to set variable, Eli Zaretskii, 2005/11/11
- Re: custom-set-variables fails to set variable, address@hidden, 2005/11/12
- Re: custom-set-variables fails to set variable, Bill Wohler, 2005/11/11
- Re: custom-set-variables fails to set variable, Eli Zaretskii, 2005/11/11
- Re: custom-set-variables fails to set variable, Stefan Monnier, 2005/11/11