[PATCH] Fix invalid face reference.

classic Classic list List threaded Threaded
2 messages Options
Kan-Ru Chen Kan-Ru Chen
Reply | Threaded
Open this post in threaded view
|

[PATCH] Fix invalid face reference.

To avoid the "Invalid face reference: cons [18 times]" kind of message
goes on and on in the *Messages*.

Signed-off-by: Kan-Ru Chen <[hidden email]>
---
 notmuch.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/notmuch.el b/notmuch.el
index 0144b61..a547415 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -553,7 +553,7 @@ which this thread was originally shown."
   (let ((beg (point-marker)))
     (end-of-line)
     ; Inverse video for subject
-    (overlay-put (make-overlay beg (point)) 'face '((cons :inverse-video t)))
+    (overlay-put (make-overlay beg (point)) 'face '(:inverse-video t))
     (forward-line 2)
     (let ((beg-hidden (point-marker)))
       (re-search-forward notmuch-show-header-end-regexp)
--
1.6.5.3


Carl Worth-2 Carl Worth-2
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Fix invalid face reference.

On Sun, 22 Nov 2009 14:40:59 +0800, Kan-Ru Chen <[hidden email]> wrote:
> To avoid the "Invalid face reference: cons [18 times]" kind of message
> goes on and on in the *Messages*.

Thanks. This is pushed.

And welcome to notmuch, Kan-Ru! I'll look forward to any possible
contributions from you in the future.

-Carl