]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Correct the documentation for `notmuch-search-line-faces'.
authorDavid Edmondson <dme@dme.org>
Tue, 6 May 2014 10:03:30 +0000 (11:03 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 17 May 2014 21:42:23 +0000 (06:42 +0900)
The implementation and documentation for `notmuch-search-line-faces'
disagreed in how elements in the list were merged. Correct the
documentation to match the implementation (that is, the earlier
elements in the list have precedence over later elements).

emacs/notmuch.el

index 6c0bc1bcae0ed9e3f423e9ccdb860484b4e18111..8aa01049e9be7ddd312f02e756850a9f29ab1aa0 100644 (file)
@@ -647,12 +647,12 @@ of the result."
 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 '((\"deleted\" . (:foreground \"red\"
-                                                 :background \"blue\"))
-                                   (\"unread\" . (:foreground \"green\"))))
+ (setq notmuch-search-line-faces '((\"unread\" . (:foreground \"green\"))
+                                   (\"deleted\" . (:foreground \"red\"
+                                                 :background \"blue\"))))
 
-The attributes defined for matching tags are merged, with later
-attributes overriding earlier. A message having both \"deleted\"
+The attributes defined for matching tags are merged, with earlier
+attributes overriding later. A message having both \"deleted\"
 and \"unread\" tags with the above settings would have a green
 foreground and blue background."
   :type '(alist :key-type (string) :value-type (custom-face-edit))