Jon Fineman <[email protected]> writes:

> I just upgraded my notmuch library and noticed that per this thread the
> function notmuch-hello-mode-map was removed.
> https://nmbug.notmuchmail.org/nmweb/show/20200726165818.400-14-jonas%40bernoul.li
>
> I had been following this guide to map keys to various notmuch
> functions.
> https://notmuchmail.org/emacstips/#index5h2
>
> For example I have this mapping:
> (define-key notmuch-hello-mode-map "i"
>   (lambda ()
>     (interactive)
>     (notmuch-hello-search "folder:INBOX not tag:deleted")))
>
> Still being very new to emacs and elisp I am having trouble coming up
> with how to replace notmuch-hello-mode-map with another fuction.

I don't think you have to. notmuch-hello-mode-map is a mode-map variable
and your 'define-key' is using it as such. I have a lot of those too and
hope it will continue to work. I think it will remain a mode-map also
after the change communicated in that thread.
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to