summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-05-08 23:37:10 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-05-11 10:28:08 +0200
commit474241f356c638bfd8d4eecb7138e3af76a8c036 (patch)
treedd6fcb8028c5025c0de3be27b9b741d511406686 /lisp/info.el
parent14fe0eec0cc6e4ad636d28832ca6ae22955abd81 (diff)
downloademacs-474241f356c638bfd8d4eecb7138e3af76a8c036.tar.gz
emacs-474241f356c638bfd8d4eecb7138e3af76a8c036.tar.bz2
emacs-474241f356c638bfd8d4eecb7138e3af76a8c036.zip
Remedy ineffective backslashes and fix regexps
* lisp/info.el (Info-read-node-name-2): Double backslash for intended escaping effect. * lisp/term.el (term-send-function-key): Remove redundant `+`. * lisp/leim/quail/indian.el: * lisp/simple.el (scratch-buffer, get-scratch-buffer-create): Remove ineffective backslashes.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 514cf7b3f47..e51f0b9537a 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1834,7 +1834,7 @@ list of valid filename suffixes for Info files. See
;; include it (without the suffix).
(when (and (string-match suffix file)
;; But exclude subfiles of split Info files.
- (not (string-match "\.info-[0-9]+" file))
+ (not (string-match "\\.info-[0-9]+" file))
;; And exclude backup files.
(not (string-match "~\\'" file)))
(push (substring file 0 (match-beginning 0))