aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org
diff options
context:
space:
mode:
authorMattias EngdegÄrd2020-01-24 21:01:47 +0100
committerMattias EngdegÄrd2020-01-24 23:04:34 +0100
commit0c6c8aa002d321db61afdd14c70744f7bc27f268 (patch)
treecf079a7723cd6078f2260bb5c7bb0f4bd4183b17 /lisp/org
parenta391ffa2f0377306449b36cc62858db823d2e990 (diff)
downloademacs-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 'lisp/org')
-rw-r--r--lisp/org/ol.el4
-rw-r--r--lisp/org/org-element.el2
-rw-r--r--lisp/org/org.el4
3 files changed, 5 insertions, 5 deletions
diff --git a/lisp/org/ol.el b/lisp/org/ol.el
index baed23bc9a4..c9e4da598ff 100644
--- a/lisp/org/ol.el
+++ b/lisp/org/ol.el
@@ -845,8 +845,8 @@ E.g. \"%C3%B6\" becomes the german o-Umlaut."
845 (insert link) 845 (insert link)
846 (insert (make-string (- (skip-chars-backward "\\\\")) 846 (insert (make-string (- (skip-chars-backward "\\\\"))
847 ?\\)) 847 ?\\))
848 (while (search-backward "\]" nil t) 848 (while (search-backward "]" nil t)
849 (when (looking-at-p "\\]\\(?:[][]\\|\\'\\)") 849 (when (looking-at-p "]\\(?:[][]\\|\\'\\)")
850 (insert (make-string (1+ (- (skip-chars-backward "\\\\"))) 850 (insert (make-string (1+ (- (skip-chars-backward "\\\\")))
851 ?\\)))) 851 ?\\))))
852 (buffer-string))) 852 (buffer-string)))
diff --git a/lisp/org/org-element.el b/lisp/org/org-element.el
index 4b5f9a19e6d..be74dfdbeff 100644
--- a/lisp/org/org-element.el
+++ b/lisp/org/org-element.el
@@ -4892,7 +4892,7 @@ with `org-element--cache-compare'. This cache is used in
4892 4892
4893A request is a vector with the following pattern: 4893A request is a vector with the following pattern:
4894 4894
4895 \[NEXT BEG END OFFSET PARENT PHASE] 4895 [NEXT BEG END OFFSET PARENT PHASE]
4896 4896
4897Processing a synchronization request consists of three phases: 4897Processing a synchronization request consists of three phases:
4898 4898
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 5c8b02b9d1f..1581625a8e5 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -11410,8 +11410,8 @@ D Show deadlines and scheduled items between a date range."
11410 (setq type (or type org-sparse-tree-default-date-type)) 11410 (setq type (or type org-sparse-tree-default-date-type))
11411 (setq org-ts-type type) 11411 (setq org-ts-type type)
11412 (message "Sparse tree: [r]egexp [t]odo [T]odo-kwd [m]atch [p]roperty 11412 (message "Sparse tree: [r]egexp [t]odo [T]odo-kwd [m]atch [p]roperty
11413 \[d]eadlines [b]efore-date [a]fter-date [D]ates range 11413 [d]eadlines [b]efore-date [a]fter-date [D]ates range
11414 \[c]ycle through date types: %s" 11414 [c]ycle through date types: %s"
11415 (cl-case type 11415 (cl-case type
11416 (all "all timestamps") 11416 (all "all timestamps")
11417 (scheduled "only scheduled") 11417 (scheduled "only scheduled")