diff options
| author | Mattias EngdegÄrd | 2024-06-21 17:20:42 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2024-06-21 17:20:42 +0200 |
| commit | 052d2cd2582dbdd3bb4d4e68d5f4dce588ed06e2 (patch) | |
| tree | 0b3d366f5a0a50b82b216eec6e09ceef2bc3c73e | |
| parent | 5bc76dbc9d19b8a9f7d6fcfafb197fe398c022bd (diff) | |
| download | emacs-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.el | 2 |
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) |