]> git.eshelyaron.com Git - emacs.git/commit
Remove buggy regexp use in comint-output-filter
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Mar 2019 00:44:21 +0000 (17:44 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Mar 2019 00:44:52 +0000 (17:44 -0700)
commitc0936672876bccc15e7899e83d8ab99910f8feee
tree3f39a4f22c84b81944ce83b4087f22dab2d703b6
parentbc2a93d5b7c3d749b31927452e31b32bdb1b9108
Remove buggy regexp use in comint-output-filter

This reverts commit 2012-07-02T16:18:02!monnier@iro.umontreal.ca
which perhaps could be rethought and recommitted, and perhaps
it’s no longer needed now that comint-use-prompt-regexp
is almost always nil.
* lisp/comint.el (comint-output-filter): Don’t try to skip
repeated prompts, since comint-prompt-regexp typically begins
with "^" and the resulting "^^" in the regular expression does
not have the desired effect.  Noted by Mattias Engdegård in:
https://lists.gnu.org/r/emacs-devel/2019-03/msg00380.html
lisp/comint.el