]> git.eshelyaron.com Git - emacs.git/commit
c-beginning-of-statement-1: Handle syntactic WS macros properly.
authorAlan Mackenzie <acm@muc.de>
Mon, 6 May 2019 17:36:28 +0000 (17:36 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 6 May 2019 17:36:28 +0000 (17:36 +0000)
commit77b1148b5164c71c4ba673173eed2a37918d4f78
treebc37220b5beb2c9f3dd96ea55f089a3e28d8e2fb
parent63091313490beee4c5ed9767195c2a3df98f0332
c-beginning-of-statement-1: Handle syntactic WS macros properly.

* lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): The variable
before-sws-pos should record the position of a closing paren/brace/bracket
before moving backwards over a sexp.  When there is a syntactic WS macro
between the starting point and the closing p/b/b, setq before-sws-pos again
after moving backward over the macro.
lisp/progmodes/cc-engine.el