]> git.eshelyaron.com Git - emacs.git/commit
Reformulate c-end-of-macro, handling multiline block comments better
authorAlan Mackenzie <acm@muc.de>
Sun, 16 Feb 2020 12:14:41 +0000 (12:14 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 16 Feb 2020 12:14:41 +0000 (12:14 +0000)
commit7ceb45f61f91d99c045966d8463c8ae30add8930
treea18e2b43bd88e0af6dbf424e3778ca7ac7d5e701
parent888ffd960c06d56a409a7ff15b1d930d25c56089
Reformulate c-end-of-macro, handling multiline block comments better

* lisp/progmodes/cc-langs.el (c-last-open-c-comment-start-on-line-re): Comment
out.
(c-open-c-comment-on-logical-line-re): Remove.

* lisp/progmodes/cc-engine.el (c-end-of-macro): Handle multiline block
comments lacking escaped newlines using parse-partial-sexp rather than the
former variables removed from cc-langs.el.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el