]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
authorAlan Mackenzie <acm@muc.de>
Wed, 11 Nov 2015 22:06:12 +0000 (22:06 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 11 Nov 2015 22:22:35 +0000 (22:22 +0000)
commite0f64e7b4f9c3bbc12c4909ca8c8aa751f1fca4a
tree731d284343f75a48d13bfef9f10e8e73e3d8b35b
parent952395d3eb813e1c21b8bace10e54aa67bee9122
CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.

lisp/progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments)
(c-invalidate-state-cache-1, c-parse-state-1, c-guess-basic-syntax):
remove bindings of open-paren-in-column-0-is-defun-start to nil.
(c-get-fallback-scan-pos): "New" function (existed several years ago).
(c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
c-get-fallback-scan-pos.
(c-parse-state-1): Handle 'BOD strategy.

lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
c-font-lock-fontify-region): remove bindings of
open-paren-in-column-0-is-defun-start to nil.

cc-mode.texi (Performance Issues, Limitations and Known Bugs): Fix mix up
between @chapter and @appendix.
doc/misc/cc-mode.texi
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-mode.el