From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
Date: Fri, 23 Dec 2011 20:40:34 +0000 (+0400)
Subject: emacs: fix docstring for `notmuch-search-line-faces'.
X-Git-Tag: 0.11_rc1~1
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=c44a0edadca995ddee4b159e9c465d40a32af6e4;p=notmuch

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.
---

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\"