• Alan Mackenzie's avatar
    Fix C++ class initializers not always being fontified at mode start. · eaa5dc9d
    Alan Mackenzie authored
    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.
    eaa5dc9d
cc-fonts.el 110 KB