]> git.cworth.org Git - notmuch/commitdiff
emacs: restore tag-changes and query bindings for tag hooks
authorKyle Meyer <kyle@kyleam.com>
Sat, 8 May 2021 12:11:12 +0000 (09:11 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 15 May 2021 11:34:28 +0000 (08:34 -0300)
notmuch-before-tag-hook and notmuch-after-tag-hook are supposed to
have access to two dynamic variables, tag-changes and query, but these
were lost with the switch to lexical binding in fc4cda07 (emacs: use
lexical-bindings in all libraries, 2021-01-13).

Add a variant of Emacs's dlet (not available until Emacs 28) and use
it in notmuch-tag to expose tag-changes and query to the hooks.


No differences found