aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias EngdegÄrd2024-06-21 17:20:42 +0200
committerMattias EngdegÄrd2024-06-21 17:20:42 +0200
commit052d2cd2582dbdd3bb4d4e68d5f4dce588ed06e2 (patch)
tree0b3d366f5a0a50b82b216eec6e09ceef2bc3c73e
parent5bc76dbc9d19b8a9f7d6fcfafb197fe398c022bd (diff)
downloademacs-052d2cd2582dbdd3bb4d4e68d5f4dce588ed06e2.tar.gz
emacs-052d2cd2582dbdd3bb4d4e68d5f4dce588ed06e2.zip
; eliminate backslash duplicate in regexp
* lisp/editorconfig-fnmatch.el (editorconfig-fnmatch--do-translate): Remove superfluous backslash.
-rw-r--r--lisp/editorconfig-fnmatch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/editorconfig-fnmatch.el b/lisp/editorconfig-fnmatch.el
index cd040880434..397e424a6f7 100644
--- a/lisp/editorconfig-fnmatch.el
+++ b/lisp/editorconfig-fnmatch.el
@@ -146,7 +146,7 @@ translation is found for PATTERN."
146 146
147 (while (< index length) 147 (while (< index length)
148 (if (and (not is-escaped) 148 (if (and (not is-escaped)
149 (string-match "[^]\\*?[{},/\\-]+" 149 (string-match "[^]\\*?[{},/-]+"
150 ;;(string-match "[^]\\*?[{},/\\-]+" "?.a") 150 ;;(string-match "[^]\\*?[{},/\\-]+" "?.a")
151 pattern 151 pattern
152 index) 152 index)