Merge from origin/emacs-27

63f614d76c Fix comint-redirect-results-list regexp usage (Bug#42662)
This commit is contained in:
Glenn Morris 2020-08-13 07:51:03 -07:00
commit a1f9e7beea

View file

@ -3852,7 +3852,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))