mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
emacs: Correct the documentation for `notmuch-search-line-faces'.
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).
This commit is contained in:
parent
0629afeb26
commit
ec02089433
1 changed files with 5 additions and 5 deletions
|
@ -647,12 +647,12 @@ of the result."
|
||||||
Here is an example of how to color search results based on tags.
|
Here is an example of how to color search results based on tags.
|
||||||
(the following text would be placed in your ~/.emacs file):
|
(the following text would be placed in your ~/.emacs file):
|
||||||
|
|
||||||
(setq notmuch-search-line-faces '((\"deleted\" . (:foreground \"red\"
|
(setq notmuch-search-line-faces '((\"unread\" . (:foreground \"green\"))
|
||||||
:background \"blue\"))
|
(\"deleted\" . (:foreground \"red\"
|
||||||
(\"unread\" . (:foreground \"green\"))))
|
:background \"blue\"))))
|
||||||
|
|
||||||
The attributes defined for matching tags are merged, with later
|
The attributes defined for matching tags are merged, with earlier
|
||||||
attributes overriding earlier. A message having both \"deleted\"
|
attributes overriding later. A message having both \"deleted\"
|
||||||
and \"unread\" tags with the above settings would have a green
|
and \"unread\" tags with the above settings would have a green
|
||||||
foreground and blue background."
|
foreground and blue background."
|
||||||
:type '(alist :key-type (string) :value-type (custom-face-edit))
|
:type '(alist :key-type (string) :value-type (custom-face-edit))
|
||||||
|
|
Loading…
Reference in a new issue