diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 382355a05bb..653c8ab7a1e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-11-05 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp.el (tramp-wait-for-output): Ignore escape sequences in | ||
| 4 | the prompt. | ||
| 5 | |||
| 1 | 2007-10-05 Chris Moore <christopher.ian.moore@gmail.com> | 6 | 2007-10-05 Chris Moore <christopher.ian.moore@gmail.com> |
| 2 | 7 | ||
| 3 | * wdired.el (wdired-use-dired-vertical-movement): Doc fix. | 8 | * wdired.el (wdired-use-dired-vertical-movement): Doc fix. |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index f28d8b7aec7..8b50e034b47 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -6197,7 +6197,9 @@ function waits for output unless NOOUTPUT is set." | |||
| 6197 | (let ((found | 6197 | (let ((found |
| 6198 | (tramp-wait-for-regexp | 6198 | (tramp-wait-for-regexp |
| 6199 | proc timeout | 6199 | proc timeout |
| 6200 | (format "^%s\r?$" (regexp-quote tramp-end-of-output))))) | 6200 | ;; Initially, `tramp-end-of-output' is "$ ". There might |
| 6201 | ;; be leading escape sequences, which must be ignored. | ||
| 6202 | (format "^[^$\n]*%s\r?$" (regexp-quote tramp-end-of-output))))) | ||
| 6201 | (if found | 6203 | (if found |
| 6202 | (let (buffer-read-only) | 6204 | (let (buffer-read-only) |
| 6203 | (goto-char (point-max)) | 6205 | (goto-char (point-max)) |