Created
October 22, 2014 09:23
-
-
Save Wilfred/f7d61b7cdf9fdbb1d11c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun get-faces (pos) | |
"Get the font faces at POS." | |
(remq nil | |
(list | |
(get-char-property pos 'read-face-name) | |
(get-char-property pos 'face) | |
(plist-get (text-properties-at pos) 'face)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment