emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/easy-escape 24507b2 22/27: Rename easy-escape--mark-in-


From: ELPA Syncer
Subject: [elpa] externals/easy-escape 24507b2 22/27: Rename easy-escape--mark-in-string to easy-escape--find-in-string
Date: Tue, 14 Sep 2021 17:57:33 -0400 (EDT)

branch: externals/easy-escape
commit 24507b25ad4abe5aa7ea1886a2139d0b2b6e12df
Author: Clément Pit-Claudel <clement.pitclaudel@live.com>
Commit: Clément Pit-Claudel <clement.pitclaudel@live.com>

    Rename easy-escape--mark-in-string to easy-escape--find-in-string
---
 easy-escape.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/easy-escape.el b/easy-escape.el
index 4994c44..a853933 100644
--- a/easy-escape.el
+++ b/easy-escape.el
@@ -96,7 +96,7 @@ however."
         (and (listp face) (or (memq 'font-lock-doc-face face)
                               (memq 'font-lock-string-face face))))))
 
-(defun easy-escape--mark-in-string (re lim)
+(defun easy-escape--find-in-string (re lim)
   "Find next match for RE before LIM that falls in a string."
   (catch 'found
     (while (re-search-forward re lim t)
@@ -105,11 +105,11 @@ however."
 
 (defun easy-escape--mark-escapes (limit)
   "Search for \\\\ before LIMIT."
-  (easy-escape--mark-in-string "\\(\\\\\\\\\\)" limit))
+  (easy-escape--find-in-string "\\(\\\\\\\\\\)" limit))
 
 (defun easy-escape--mark-delims (limit)
   "Search for a delimiter or alternation before LIMIT."
-  (easy-escape--mark-in-string "\\(\\\\\\\\\\)\\([()|]\\)" limit))
+  (easy-escape--find-in-string "\\(\\\\\\\\\\)\\([()|]\\)" limit))
 
 (defun easy-escape--compose (n char)
   "Compose match group N into CHAR."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]