[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc on define-minor-mode hook variable(s)
From: |
Stefan Monnier |
Subject: |
Re: doc on define-minor-mode hook variable(s) |
Date: |
Mon, 06 Mar 2006 14:09:14 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> In the past, hook variables were used, and the new notion that a hook need
>> not be associated with a variable should be explained in the doc.
> A hook IS a variable--that is to say, a symbol whose value is used.
> It is a mistake to think that a hook is not a variable.
Either way it's a mistake: when people think of a hook as a variable, they
think that (boundp 'foo-hook) can tell them whether the hook exists or not.
So I prefer to think that a hook is its own kind of object, which happens to
be implemented using a variable.
Stefan
- doc on define-minor-mode hook variable(s), Drew Adams, 2006/03/05
- Re: doc on define-minor-mode hook variable(s), Stefan Monnier, 2006/03/05
- RE: doc on define-minor-mode hook variable(s), Drew Adams, 2006/03/05
- Re: doc on define-minor-mode hook variable(s), Stefan Monnier, 2006/03/05
- RE: doc on define-minor-mode hook variable(s), Drew Adams, 2006/03/05
- Re: doc on define-minor-mode hook variable(s), Stefan Monnier, 2006/03/06
- Re: doc on define-minor-mode hook variable(s), Richard Stallman, 2006/03/06
- Re: doc on define-minor-mode hook variable(s),
Stefan Monnier <=
- Re: doc on define-minor-mode hook variable(s), Kevin Rodgers, 2006/03/08
- RE: doc on define-minor-mode hook variable(s), Drew Adams, 2006/03/06