summaryrefslogtreecommitdiff
path: root/lisp/term.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/term.el
parent14fe0eec0cc6e4ad636d28832ca6ae22955abd81 (diff)
downloademacs-474241f356c638bfd8d4eecb7138e3af76a8c036.tar.gz
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/term.el')
-rw-r--r--lisp/term.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 640478b59a2..54e19a3ea92 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -1430,7 +1430,7 @@ Entry to this mode runs the hooks on `term-mode-hook'."
(when (and (= (length key) 1)
(symbolp (elt key 0)))
(let ((name (symbol-name (elt key 0))))
- (when (string-match "\\`f\\([0-9]++\\)\\'" name)
+ (when (string-match "\\`f\\([0-9]+\\)\\'" name)
(let* ((num (string-to-number (match-string 1 name)))
(ansi
(cond