5 lines
No EOL
231 B
EmacsLisp
5 lines
No EOL
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)))) |