diff options
| author | Mattias EngdegÄrd | 2020-01-24 21:01:47 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-01-24 23:04:34 +0100 |
| commit | 0c6c8aa002d321db61afdd14c70744f7bc27f268 (patch) | |
| tree | cf079a7723cd6078f2260bb5c7bb0f4bd4183b17 /test/src | |
| parent | a391ffa2f0377306449b36cc62858db823d2e990 (diff) | |
| download | emacs-0c6c8aa002d321db61afdd14c70744f7bc27f268.tar.gz emacs-0c6c8aa002d321db61afdd14c70744f7bc27f268.zip | |
Remove (or double) redundant backslashes in string literals
See discussion at
https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00749.html .
* lisp/obsolete/iswitchb.el (iswitchb-summaries-to-end):
* test/src/regex-emacs-tests.el (regex-tests-BOOST-frob-escapes):
* test/lisp/help-fns-tests.el (help-fns-test-lisp-macro)
(help-fns-test-lisp-defun, help-fns-test-lisp-defsubst)
(help-fns-test-alias-to-defun, help-fns-test-bug23887):
Double backslashes for desired effect.
* lisp/org/ol.el (org-link-escape):
* lisp/net/nsm.el (nsm-protocol-check--rsa-kx)
(nsm-protocol-check--anon-kx, nsm-protocol-check--sha1-sig):
* lisp/obsolete/old-whitespace.el (whitespace-buffer):
* lisp/obsolete/rcompile.el (remote-compile-run-before):
* lisp/obsolete/vi.el (vi-end-of-blank-delimited-word):
* lisp/obsolete/vip.el (vip-current-major-mode)
(vip-paren-match, vip-switch-to-buffer)
(vip-switch-to-buffer-other-window, vip-kill-buffer)
(vip-get-ex-token, ex-edit):
* lisp/org/org-element.el (org-element--cache-sync-requests):
* lisp/org/org.el (org-sparse-tree):
* lisp/textmodes/reftex.el (reftex-report-bug):
* test/lisp/ibuffer-tests.el (ibuffer-save-filters):
* test/lisp/international/ucs-normalize-tests.el
(ucs-normalize-tests--insert-failing-lines):
* test/lisp/simple-tests.el (undo-test-kill-c-a-then-undo):
* test/lisp/textmodes/conf-mode-tests.el (conf-test-toml-mode):
* test/src/regex-emacs-tests.el (regex-tests-compare):
Remove redundant backslashes.
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/regex-emacs-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/regex-emacs-tests.el b/test/src/regex-emacs-tests.el index 6a661afeff9..ad0271049c3 100644 --- a/test/src/regex-emacs-tests.el +++ b/test/src/regex-emacs-tests.el | |||
| @@ -161,7 +161,7 @@ what failed, if anything; valid values are 'search-failed, | |||
| 161 | 'compilation-failed and nil. I compare the beginning/end of each | 161 | 'compilation-failed and nil. I compare the beginning/end of each |
| 162 | group with their expected values. This is done with either | 162 | group with their expected values. This is done with either |
| 163 | BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil. | 163 | BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil. |
| 164 | BOUNDS-REF is a sequence \[start-ref0 end-ref0 start-ref1 | 164 | BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 |
| 165 | end-ref1 ....] while SUBSTRING-REF is the expected substring | 165 | end-ref1 ....] while SUBSTRING-REF is the expected substring |
| 166 | obtained by indexing the input string by start/end-ref. | 166 | obtained by indexing the input string by start/end-ref. |
| 167 | 167 | ||
| @@ -327,7 +327,7 @@ emacs requires an extra symbol character" | |||
| 327 | (defun regex-tests-BOOST-frob-escapes (s ispattern) | 327 | (defun regex-tests-BOOST-frob-escapes (s ispattern) |
| 328 | "Mangle \\ the way it is done in frob_escapes() in | 328 | "Mangle \\ the way it is done in frob_escapes() in |
| 329 | regex-tests-BOOST.c in glibc: \\t, \\n, \\r are interpreted; | 329 | regex-tests-BOOST.c in glibc: \\t, \\n, \\r are interpreted; |
| 330 | \\\\, \\^, \{, \\|, \} are unescaped for the string (not | 330 | \\\\, \\^, \\{, \\|, \\} are unescaped for the string (not |
| 331 | pattern)" | 331 | pattern)" |
| 332 | 332 | ||
| 333 | ;; this is all similar to (regex-tests-unextend) | 333 | ;; this is all similar to (regex-tests-unextend) |