How to determine what face is associated with a bit of text?

Giacomo Boffi giacomo.boffi at polimi.it
Mon Apr 7 09:59:35 EDT 2008


skip at pobox.com writes:
 > Given a random bit of text is there some way to determine the face
 > used to render it?

from my init.el (it's not mine, probably posted here some time ago)

(defun describe-face-at-point () 
  "Return face used at point." 
  (interactive) 
  (hyper-describe-face (get-char-property (point) 'face))) 

f

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the XEmacs-Beta mailing list