branch: externals/cm-mode
commit ee4a1b7aec33223fb5507f556c1b1b7a7f7ba8bc
Author: Joost Kremers <[email protected]>
Commit: Joost Kremers <[email protected]>

    Fix string-match for highlight in cm-expand-change.
---
 cm-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cm-mode.el b/cm-mode.el
index 379b9a6bc9..250e1de0bd 100644
--- a/cm-mode.el
+++ b/cm-mode.el
@@ -708,7 +708,7 @@ substitutions, `d' for comments and highlights."
       "")
      ((and (eq type 'cm-highlight)
            (eq action ?d))
-      (string-match "{==\\(.*?\\==}}" text)
+      (string-match "{==\\(.*?\\)==}" text)
       (match-string 1 text)))))
 
 (defun cm-accept/reject-all-changes ()

Reply via email to