When I use emacs 24.3.1 and run
/usr/bin/emacs -Q
Then M-< followed by M-xglobal-hl-line-mode
and M-xdescribe-face
, emacs asks me
Describe face (default `font-lock-comment-delimiter-face'):
But when I use 26.1 and run
/usr/local/bin/emacs -Q
and run exactly the same commands, emacs asks me
Describe face (default ‘hl-line’):
I have to turn hl-line
off to get the name of the point's face. What causes this difference and is there a way to get the old behaviour back?
Update:
It seems
(get-char-property (point) 'face)
returns hl-line
in 26.1, but returns the actual face in 24.3.1.