Luc Teirlinck <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>  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.



_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to