]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: fix docstring for `notmuch-search-line-faces'.
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Fri, 23 Dec 2011 20:40:34 +0000 (00:40 +0400)
committerDavid Bremner <bremner@debian.org>
Sat, 24 Dec 2011 19:34:07 +0000 (15:34 -0400)
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

index 270f9833bd0e437a527255de73a5eaf03d445153..fde23779d7cf8f4a8853fd16da6940779cd48820 100644 (file)
@@ -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\"