diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index a5df8449ea0..057d292246f 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -1526,6 +1526,7 @@ Note that the style variables are always made local to the buffer." (unless (or (and ;; Don't set c-new-BEG/END if we're in an ml string. + c-ml-string-opener-re (eq beg-literal-type 'string) (c-ml-string-opener-at-or-around-point (car beg-limits))) (and c-multiline-string-start-char