projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dada01
)
Fix comint-redirect-results-list regexp usage (Bug#42662)
author
Phil Sainty
<psainty@orcon.net.nz>
Wed, 12 Aug 2020 13:16:16 +0000
(
01:16
+1200)
committer
Phil Sainty
<psainty@orcon.net.nz>
Wed, 12 Aug 2020 13:30:54 +0000
(
01:30
+1200)
* lisp/comint.el (comint-redirect-results-list-from-process):
Don't treat the literal string argument COMMAND as a regexp.
lisp/comint.el
patch
|
blob
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index bf376a0b81c8acbdaadc0f69d1d43f03aa694a4f..3e76c5d02b0b310db0fb08021dadf80484a680ee 100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-3835,7
+3835,7
@@
REGEXP-GROUP is the regular expression group in REGEXP to use."
(set-buffer output-buffer)
(goto-char (point-min))
;; Skip past the command, if it was echoed
- (and (looking-at
command
)
+ (and (looking-at
(regexp-quote command)
)
(forward-line))
(while (and (not (eobp))
(re-search-forward regexp nil t))