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 <kanru@kanru.info>
This commit is contained in:
Kan-Ru Chen 2009-11-22 14:40:59 +08:00 committed by Carl Worth
parent 018ca890a3
commit 6b823b6fba

View file

@ -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)