# HG changeset patch # User Michael Albinus <michael.albinus@gmx.de> # Date 1223963579 0 # Node ID f3c1254483a0b31c25f1266099f7f2cff83ad8e6 # Parent ef67b2d51a4df97efad7e1ca003a2c05b6bde20d * 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>. diff -r ef67b2d51a4d -r f3c1254483a0 lisp/net/tramp.el --- 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)