[Top][All Lists]

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

Re: Debugging SMIE for sh-script.el

From: Kévin Le Gouguec
Subject: Re: Debugging SMIE for sh-script.el
Date: Thu, 02 Sep 2021 22:39:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier via Users list for the GNU Emacs text editor
<> writes:

> Not that the `t` here is a general feature of hooks which means "use
> here the lit stored in the global (i.e. not buffer-local)" variable.

Ah-ha!  That's what I was missing.  I can't find this feature described
in the docstrings of the run-hook* functions or in add-hook's; have I
missed it?

I do find it mentioned in (info "(elisp) Running Hooks") though.  One
more coin for the "always read the info page" jar :)

reply via email to

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