emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom-set-variables fails to set variable


From: Glenn Morris
Subject: Re: custom-set-variables fails to set variable
Date: Fri, 11 Nov 2005 21:33:37 -0500
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Luc Teirlinck wrote:

> I do not know wether the fact that a hook is unbound caused problems
> back in July 2003, but it certainly causes no problems in today's
> CVS. Many hooks are unbound until add-hook gets called for them.

I haven't made myself clear. There was no _real_ problem with hooks
not being bound; it just confused someone to read the docstring of
outline-mode and see:

    Turning on outline mode calls the value ... of `outline-mode-hook'

; then to try `C-h v outline-mode-hook' and get [No match].

Many packages (eg sh-script.el) that define modes "by hand" explicitly
defcustom the associated hook. As you say, they don't need to; it just
helps document things for the user, I guess. That was the motivation
here.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]