Get font face under cursor in Emacs

后端 未结 5 647
Happy的楠姐
Happy的楠姐 2020-12-12 12:48

I\'ve been developing my own custom color theme, and it\'d be really useful if I could get a list of font-faces affecting the text under the cursor.

Something like T

5条回答
  •  生来不讨喜
    2020-12-12 13:08

    There's a bug in the `what-face' code: the function takes "pos" as an argument but then doesn't use it when getting the face -- instead it uses "(point)", even though the message later claims pos in the "No face at %d" case.

提交回复
热议问题