diff options
author | Alan Mackenzie <acm@muc.de> | 2021-04-09 20:52:49 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2021-04-09 20:52:49 +0000 |
commit | f493a9bef46dc48f7282e296996186d6d8f77684 (patch) | |
tree | d3c8c0a182a4657eb4642141c6442b7165fe7829 /test/lisp/emacs-lisp/warnings-tests.el | |
parent | 59342f689eaa4839b0fc15351ae48b4f1074a6fc (diff) | |
download | emacs-f493a9bef46dc48f7282e296996186d6d8f77684.tar.gz emacs-f493a9bef46dc48f7282e296996186d6d8f77684.tar.bz2 emacs-f493a9bef46dc48f7282e296996186d6d8f77684.zip |
CC Mode: fix c-where-wrt-brace-construct to cope with class declarations
Make the function correctly recognize a brace block preceded by an
introductory line without a parameter list.
* lisp/progmodes/cc-cmds.el (c-where-wrt-brace-contruct): Reintroduce the use
of c-beginning-of-decl-1, which was removed some weeks ago, in place of a
c-syntactic-skip-backward. Reformulate the code generally.
Diffstat (limited to 'test/lisp/emacs-lisp/warnings-tests.el')
0 files changed, 0 insertions, 0 deletions