mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* comint.el (comint-redirect-results-list-from-process): Fix
infinite loop.
This commit is contained in:
parent
d80a808f8d
commit
aed838b5ab
2 changed files with 8 additions and 2 deletions
|
|
@ -3733,12 +3733,13 @@ REGEXP-GROUP is the regular expression group in REGEXP to use."
|
|||
;; Skip past the command, if it was echoed
|
||||
(and (looking-at command)
|
||||
(forward-line))
|
||||
(while (re-search-forward regexp nil t)
|
||||
(while (and (not (eobp))
|
||||
(re-search-forward regexp nil t))
|
||||
(push (buffer-substring-no-properties
|
||||
(match-beginning regexp-group)
|
||||
(match-end regexp-group))
|
||||
results))
|
||||
results)))
|
||||
(nreverse results))))
|
||||
|
||||
;; Converting process modes to use comint mode
|
||||
;; ===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue