From: David Edmondson Date: Wed, 19 May 2010 07:03:30 +0000 (+0100) Subject: emacs: Adjust comment to avoid confusing font-lock. X-Git-Tag: 0.4~124 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;ds=sidebyside;h=f2525ed18fd7f06896accf21d1b28672f88e11df;p=notmuch emacs: Adjust comment to avoid confusing font-lock. Comments with an open bracket in the first column confuse `font-lock' mode, so avoid them. --- diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 0da7ab98..7c9c028e 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -583,10 +583,10 @@ This function advances the next thread when finished." "Tag/face mapping for line highlighting in notmuch-search. 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 '((\"delete\" . '(:foreground \"red\")) - (\"unread\" . '(:foreground \"green\")))) + (setq notmuch-search-line-faces '((\"delete\" . '(:foreground \"red\")) + (\"unread\" . '(:foreground \"green\")))) Order matters: for lines with multiple tags, the the first matching will be applied."