5 lines
231 B
EmacsLisp
5 lines
231 B
EmacsLisp
|
(defun what-face (pos)
|
||
|
(interactive "d")
|
||
|
(let ((face (or (get-char-property (point) 'read-face-name)
|
||
|
(get-char-property (point) 'face))))
|
||
|
(if face (message "Face: %s" face) (message "No face at %d" pos))))
|