[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 254dc6a: CC Mode: Fix a bug in yesterday's patch
From: |
Alan Mackenzie |
Subject: |
master 254dc6a: CC Mode: Fix a bug in yesterday's patch |
Date: |
Fri, 13 Aug 2021 17:01:03 -0400 (EDT) |
branch: master
commit 254dc6ab4ca8e6a549a795f9eaf45378ce51b61f
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>
CC Mode: Fix a bug in yesterday's patch
* lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings):
Check
the language has multi-line strings before calling
c-ml-string-opener-at-or-around-point.
---
lisp/progmodes/cc-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index a5df844..057d292 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 254dc6a: CC Mode: Fix a bug in yesterday's patch,
Alan Mackenzie <=