Commit ff7271b9 authored by OKAZAKI Tetsurou's avatar OKAZAKI Tetsurou Committed by Glenn Morris
Browse files

cc-fonts.el fix for bug#9443 (tiny change)

* lisp/progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
Check for null c-opt-block-decls-with-vars-key.
parent 183fc730
2011-09-07 OKAZAKI Tetsurou <> (tiny change)
* progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2011-09-07 Leo Liu <>
* net/rcirc.el (rcirc-mode): Conditionally initialize
......@@ -1559,7 +1559,8 @@ casts and declarations are fontified. Used on level 2 and higher."
(setq decl-context (c-beginning-of-decl-1)
in-typedef (looking-at c-typedef-key))
(if in-typedef (c-forward-token-2))
(when (looking-at c-opt-block-decls-with-vars-key)
(when (and c-opt-block-decls-with-vars-key
(looking-at c-opt-block-decls-with-vars-key))
(goto-char ps-elt)
(when (c-safe (c-forward-sexp))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment