help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

face properties in messages


From: Joe Riel
Subject: face properties in messages
Date: Tue, 28 May 2013 23:35:24 -0700

How can I display a message in the echo area with a special face, to highlight 
it?
The elisp info states that text properties affect the display, but
the text and property appear literally, in the normal face.   
For example

(message (propertize "hello" 'face 'bold))

displays as

#("hello" 0 5 (face bold))

-- 
Joe Riel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]