X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=479b39f1fb81bd0c8a9d1b8f84c580cfa14cce58;hb=4f4ec48df25c8d2963e7124d2781b13e5a7f6a78;hp=6076a967d838c072ebe7c9ee4d1540d727268c75;hpb=071fb57a35fa330785f75c26734133732560414e;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 6076a967..479b39f1 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -834,6 +834,8 @@ non-authors is found, assume that all of the authors match." (defun notmuch-search-insert-field (field format-string result) (pcase field + ((pred functionp) + (insert (funcall field format-string result))) ("date" (insert (propertize (format format-string (plist-get result :date_relative)) 'face 'notmuch-search-date)))