X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=emacs%2Fnotmuch.el;h=59ad541eb10d444888b9f85a1666af555a2deedc;hb=941e172724188eb0f65bc05035a0a6871a70ba72;hp=65baa0cb8886d6ff9e8e531a7c1a8aadfe7625b2;hpb=14d3251b9c08c947b16af58097a072a187109658;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 65baa0cb..59ad541e 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -649,7 +649,7 @@ foreground and blue background." (let ((tag (car elem)) (attributes (cdr elem))) (when (member tag line-tag-list) - (notmuch-combine-face-text-property start end attributes)))) + (notmuch-apply-face nil attributes nil start end)))) ;; Reverse the list so earlier entries take precedence (reverse notmuch-search-line-faces))) @@ -754,7 +754,7 @@ non-authors is found, assume that all of the authors match." ((string-equal field "tags") (let ((tags (plist-get result :tags))) - (insert (format format-string (notmuch-tag-format-tags tags))))))) + (insert (format format-string (notmuch-tag-format-tags tags tags))))))) (defun notmuch-search-show-result (result &optional pos) "Insert RESULT at POS or the end of the buffer if POS is null." @@ -888,6 +888,7 @@ the configured default sort order." (set 'notmuch-search-oldest-first oldest-first) (set 'notmuch-search-target-thread target-thread) (set 'notmuch-search-target-line target-line) + (notmuch-tag-clear-cache) (let ((proc (get-buffer-process (current-buffer))) (inhibit-read-only t)) (if proc