]> git.notmuchmail.org Git - notmuch/commit - emacs/notmuch-lib.el
emacs: inline notmuch-documentation-first-line
authorJonas Bernoulli <jonas@bernoul.li>
Mon, 16 Nov 2020 21:28:36 +0000 (22:28 +0100)
committerDavid Bremner <david@tethera.net>
Sun, 6 Dec 2020 20:21:51 +0000 (16:21 -0400)
commit4f57e018431eefadda0157db05c7d84ead1bb1ae
tree22e0ada9666b51368fbd79427e95721f4a9069c7
parent6db692302d1fafbc5337beb2e17d178744c097e8
emacs: inline notmuch-documentation-first-line

Inline a simplified version of `notmuch-documentation-first-line'
into its only caller.  The new code snippet differs from the
removed function in that it returns nil instead of the empty string
for symbols that have no function documentation.  That value is
ultimately used as an argument to `concat', which treats nil like
the empty string.  So we can do the logical thing without changing
the behavior.
emacs/notmuch-lib.el