From: David Edmondson Date: Wed, 19 May 2010 07:03:39 +0000 (+0100) Subject: emacs: Tags should be shown with `notmuch-tag-face'. X-Git-Tag: 0.4~122 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=0109f67e38fa77da245b98babcb693562ea995ee emacs: Tags should be shown with `notmuch-tag-face'. Use the same face for tags in `notmuch-show' mode as that used in `notmuch-search' mode. --- diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 686e2037..d66894ae 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -194,7 +194,8 @@ any given message." (if (re-search-forward "(\\([^()]*\\))$" (line-end-position) t) (let ((inhibit-read-only t)) (replace-match (concat "(" - (mapconcat 'identity tags " ") + (propertize (mapconcat 'identity tags " ") + 'face 'notmuch-tag-face) ")")))))) (defun notmuch-show-insert-headerline (headers date tags depth) @@ -206,7 +207,8 @@ message at DEPTH in the current thread." " (" date ") (" - (mapconcat 'identity tags " ") + (propertize (mapconcat 'identity tags " ") + 'face 'notmuch-tag-face) ")\n") (overlay-put (make-overlay start (point)) 'face 'notmuch-message-summary-face)))