emacs-devel
[Top][All Lists]
Advanced

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

Re: eww and bookmarks


From: Basil L. Contovounesios
Subject: Re: eww and bookmarks
Date: Sun, 07 Jun 2020 19:23:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> "Basil L. Contovounesios" <contovob@tcd.ie> writes:
>
>> There's eww-after-render-hook.  Sample usage:
>> https://emacs.stackexchange.com/a/36287/15748
>
> Yes, I know about the hook.  But just binding it will not be enough
> because the binding will be gone when it is consulted.  We would have to
> add a self-removing function at least to the local binding of the hook.
> That's what I would call a hack.

Why?  It's what minibuffer-with-setup-hook does, for example.

If you really wanted to you could add a new hook/variable to provide the
desired semantics directly, but it's not absolutely necessary.

-- 
Basil



reply via email to

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