]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Remove unused code from c-maybe-re-mark-raw-string
authorAlan Mackenzie <acm@muc.de>
Mon, 20 May 2019 12:46:37 +0000 (12:46 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 20 May 2019 12:46:37 +0000 (12:46 +0000)
commit9813905f834aa43eb194023f579c7e7951d96d0f
treec43718aed95aef1e2b76ce264e423cd65790e0cc
parentec2e5a54b3b6324f1039f355fa646034918f6dba
CC Mode: Remove unused code from c-maybe-re-mark-raw-string

Acknowledge that when the function is called, it is always at the start of a
string, never in the middle or at the end of one.

* lisp/progmodes/cc-engine.el (c-maybe-re-mark-raw-string): Reformulate the
cond form into a `when' form, with all but the first arm of the cond
discarded.
lisp/progmodes/cc-engine.el