[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 63f614d: Fix comint-redirect-results-list regexp usage (Bug#426
From: |
Phil |
Subject: |
emacs-27 63f614d: Fix comint-redirect-results-list regexp usage (Bug#42662) |
Date: |
Wed, 12 Aug 2020 09:32:11 -0400 (EDT) |
branch: emacs-27
commit 63f614d76c115d1d4af447ce90177cf0183b5757
Author: Phil Sainty <psainty@orcon.net.nz>
Commit: Phil Sainty <psainty@orcon.net.nz>
Fix comint-redirect-results-list regexp usage (Bug#42662)
* lisp/comint.el (comint-redirect-results-list-from-process):
Don't treat the literal string argument COMMAND as a regexp.
---
lisp/comint.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/comint.el b/lisp/comint.el
index bf376a0..3e76c5d 100644
--- 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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 63f614d: Fix comint-redirect-results-list regexp usage (Bug#42662),
Phil <=