Various tweaks & clean up
This commit is contained in:
parent
312371fc26
commit
d651311d1d
5 changed files with 9 additions and 7 deletions
|
@ -6,8 +6,8 @@
|
|||
(interactive "d")
|
||||
(let ((hl-line-p (bound-and-true-p hl-line-mode)))
|
||||
(if hl-line-p (hl-line-mode -1))
|
||||
(let ((face (or (get-char-property (point) 'read-face-name)
|
||||
(get-char-property (point) 'face))))
|
||||
(let ((face (or (get-char-property pos 'read-face-name)
|
||||
(get-char-property pos 'face))))
|
||||
(if face (message "Face: %s" face) (message "No face at %d" pos)))
|
||||
(if hl-line-p (hl-line-mode 1))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue