From: Mark Walters Date: Sun, 18 Sep 2016 10:57:32 +0000 (+0100) Subject: emacs: tag deleted face bugfix X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51d27e08555ac3187bd9d5649a0074ba6a9aabce;p=notmuch.git emacs: tag deleted face bugfix Commit d25d33ff cleaned up some of the tag face code. However, for the face notmuch-tag-deleted it used the test ((class color) (supports :strike-through)) to decide whether to use red strikethrough or inverse-video (emacs in a terminal typically doesn't support red strikethrough, but in X it does). However, it seems that test often returns true even though red strikethrough is not supported. This breaks the tag update code -- the wrong thing is displayed to the user. Thus we make the test explicitly more specific, changing the test to ((class color) (supports :strike-through "red")) --- diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el index ec3c964d..6c8b6a75 100644 --- a/emacs/notmuch-tag.el +++ b/emacs/notmuch-tag.el @@ -105,7 +105,7 @@ with images." :type 'notmuch-tag-format-type) (defface notmuch-tag-deleted - '((((class color) (supports :strike-through)) :strike-through "red") + '((((class color) (supports :strike-through "red")) :strike-through "red") (t :inverse-video t)) "Face used to display deleted tags.