Mercurial > emacs
changeset 98699:f3c1254483a0
* net/tramp.el (tramp-process-one-action): Embed regexp in
parentheses, before adding end-of-buffer construct. Suggested by
Markus Triska <markus.triska@gmx.at>.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Tue, 14 Oct 2008 05:52:59 +0000 |
parents | ef67b2d51a4d |
children | c469feff390b |
files | lisp/net/tramp.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/net/tramp.el Tue Oct 14 04:08:08 2008 +0000 +++ b/lisp/net/tramp.el Tue Oct 14 05:52:59 2008 +0000 @@ -5641,7 +5641,7 @@ (setq todo actions) (while todo (setq item (pop todo)) - (setq pattern (concat (symbol-value (nth 0 item)) "\\'")) + (setq pattern (format "\\(%s\\)\\'" (symbol-value (nth 0 item)))) (setq action (nth 1 item)) (tramp-message vec 5 "Looking for regexp \"%s\" from remote shell" pattern)