summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cursor-sensor.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2017-07-27 17:56:23 +0000
committerAlan Mackenzie <acm@muc.de>2017-07-27 17:56:23 +0000
commiteaa5dc9d102d10c79f10bee1994ad922b8fcf9c4 (patch)
treec57927ad89a09bc01269f62d946e4e05f5161192 /lisp/emacs-lisp/cursor-sensor.el
parent30e6e558701ebc781cdca3b9d61d995004cfef7d (diff)
downloademacs-eaa5dc9d102d10c79f10bee1994ad922b8fcf9c4.tar.gz
emacs-eaa5dc9d102d10c79f10bee1994ad922b8fcf9c4.tar.bz2
emacs-eaa5dc9d102d10c79f10bee1994ad922b8fcf9c4.zip
Fix C++ class initializers not always being fontified at mode start.
The problem here happened when an "outer list" of declarations moved beyond an "inner list" containing class initializers. These weren't being checked for by the code. Also, fix places in c-get-fontification-context where point is undefined. * lisp/progmodes/cc-fonts.el (c-get-fontification-context): when argument not-front-decl is set, test for class initializers. Also, anchor point in places where it is moved and is otherwise undefined.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions