[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer local part of a hook
From: |
Stefan Monnier |
Subject: |
Re: buffer local part of a hook |
Date: |
Tue, 08 Mar 2016 09:49:46 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> No. But we're fine with exposing the concept that a hook as a "local
>> part" and a "global part".
> The original question, how I understood it, was how both parts are stored.
I understood it to just asking for an explanation of those concepts are,
rather than how they're implemented. As for "exposing the
implementation", while I don't really like it we do already document it
in the Elisp manual:
-- Function: run-hooks &rest hookvars
[...]
If the hook variable is buffer-local, the buffer-local variable
will be used instead of the global variable. However, if the
buffer-local variable contains the element âtâ, the global hook
variable will be run as well.
-- Stefan
- buffer local part of a hook, Matthias Pfeifer, 2016/03/07
- Re: buffer local part of a hook, Dmitry Gutov, 2016/03/07
- Re: buffer local part of a hook, Stefan Monnier, 2016/03/07
- Re: buffer local part of a hook, Dmitry Gutov, 2016/03/07
- Re: buffer local part of a hook, Stefan Monnier, 2016/03/07
- Re: buffer local part of a hook, Dmitry Gutov, 2016/03/08
- Re: buffer local part of a hook,
Stefan Monnier <=
- Re: buffer local part of a hook, Dmitry Gutov, 2016/03/08
- Re: buffer local part of a hook, Stefan Monnier, 2016/03/08