mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Revert last tweak in 'comint-output-filter'
* lisp/comint.el (comint-output-filter): Revert last tweak because it can hang gdb indefinitely.
This commit is contained in:
parent
1d65985a2b
commit
d58c29b345
1 changed files with 1 additions and 1 deletions
|
|
@ -2081,7 +2081,7 @@ Make backspaces delete the previous character."
|
|||
(prompt-re (concat "\\`" (regexp-quote prompt))))
|
||||
(while (string-match prompt-re string)
|
||||
(setq string (substring string (match-end 0)))))))
|
||||
(while (string-match (concat "\\(" comint-prompt-regexp
|
||||
(while (string-match (concat "\\(^" comint-prompt-regexp
|
||||
"\\)\\1+")
|
||||
string)
|
||||
(setq string (replace-match "\\1" nil nil string)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue