summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/checkdoc.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2019-01-28 10:54:42 +0000
committerAlan Mackenzie <acm@muc.de>2019-01-28 10:54:42 +0000
commit239386806ec637419786bd1ab21e002bf2d501c1 (patch)
treec04efa021c81a23a913728189355ae83f0b059b4 /lisp/emacs-lisp/checkdoc.el
parentd81aa8516ef6df79d6d602d4f732d8a65bf1677c (diff)
downloademacs-239386806ec637419786bd1ab21e002bf2d501c1.tar.gz
emacs-239386806ec637419786bd1ab21e002bf2d501c1.tar.bz2
emacs-239386806ec637419786bd1ab21e002bf2d501c1.zip
Detect when we hit limit in backward search in c-just-after-func-arglist-p
This fixes a bug reported by Yasushi SHOJI <yasushi.shoji@gmail.com> to emacs-devel on 2018-11-26, where wrong analysis and fontification occurred. * lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): Add new parameter HIT-LIM which, if non-nil causes the function to return nil rather than 'same when we reach the backward search limit without finding the beginning of statement. (c-just-after-func-arglist-p): Supply argument t to this new parameter in call to c-beginning-of-statement-1.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
0 files changed, 0 insertions, 0 deletions