Fork me on GitHub
#emacs
<
2017-03-31
>
qqq05:03:53

I can't find char-at-point; in emacs how do I get the char at the current point ?

qqq05:03:33

(char-after (point))

dpsutton05:03:27

(buffer-substring-no-properties (point) (+ 1 (point)))

qqq05:03:03

@dpsutton: thanks! that doc page was very useful

qqq23:03:57

how do I get the "font lock" of a given line? I expect it to have the font style of a OUTLINE HEADING, but instead it has the font style of a comment

qqq23:03:21

it also acts like an outline header in outline-minor-mode, but it's not displaying as a header ... instead, it's displaying as a comment