From c44a0edadca995ddee4b159e9c465d40a32af6e4 Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Sat, 24 Dec 2011 00:40:34 +0400 Subject: [PATCH] emacs: fix docstring for `notmuch-search-line-faces'. Examples in documentation for `notmuch-search-line-faces' had an extra quote, e.g.: '(\"unread\" . '(:foreground \"green\")) Which resulted in values like: (\"unread\" quote (:foreground \"green\")) And tons of "Invalid face reference: quote" errors in the messages buffer. --- emacs/notmuch.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 270f9833..fde23779 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -646,9 +646,9 @@ This function advances the next thread when finished." Here is an example of how to color search results based on tags. (the following text would be placed in your ~/.emacs file): - (setq notmuch-search-line-faces '((\"delete\" . '(:foreground \"red\" - :background \"blue\")) - (\"unread\" . '(:foreground \"green\")))) + (setq notmuch-search-line-faces '((\"delete\" . (:foreground \"red\" + :background \"blue\")) + (\"unread\" . (:foreground \"green\")))) The attributes defined for matching tags are merged, with later attributes overriding earlier. A message having both \"delete\" -- 2.43.0