From 51d27e08555ac3187bd9d5649a0074ba6a9aabce Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sun, 18 Sep 2016 11:57:32 +0100 Subject: [PATCH] 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")) --- emacs/notmuch-tag.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.