[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interrogating which face is being used
From: |
Deepak Ramani |
Subject: |
Re: Interrogating which face is being used |
Date: |
Fri, 17 Jul 2009 12:02:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
On Fri, 17 Jul 2009 11:07:18 -0400, Tim Visher wrote:
> I'm wondering if it's possible to interrogate the entity under point
> to discover which face is currently being used to control its display.
You might consider the following function, which you can bind to any key
you want:
(defun describe-face-at-point ()
"Return face used at point."
(interactive)
(get-char-property (point) 'face))
-Deepak