mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-09 15:50:21 +00:00
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.
This commit is contained in:
parent
6dada01015
commit
63f614d76c
@ -3835,7 +3835,7 @@ REGEXP-GROUP is the regular expression group in REGEXP to use."
|
|||||||
(set-buffer output-buffer)
|
(set-buffer output-buffer)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
;; Skip past the command, if it was echoed
|
;; Skip past the command, if it was echoed
|
||||||
(and (looking-at command)
|
(and (looking-at (regexp-quote command))
|
||||||
(forward-line))
|
(forward-line))
|
||||||
(while (and (not (eobp))
|
(while (and (not (eobp))
|
||||||
(re-search-forward regexp nil t))
|
(re-search-forward regexp nil t))
|
||||||
|
Loading…
Reference in New Issue
Block a user