From 95d610cb981ef34896c67f5f07ccb2cff698693c Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 14 Oct 2008 05:53:56 +0000 Subject: [PATCH] * net/tramp.el (tramp-process-one-action): Embed regexp in parentheses, before adding end-of-buffer construct. Suggested by Markus Triska . --- lisp/ChangeLog | 6 ++++++ lisp/net/tramp.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1220878679..1f9e909b1a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2008-10-14 Michael Albinus + + * net/tramp.el (tramp-process-one-action): Embed regexp in + parentheses, before adding end-of-buffer construct. Suggested by + Markus Triska . + 2008-10-13 Ulf Jasper * net/newst-plainview.el (w3m-toggle-inline-image): diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 68f75eb777..84917dc8df 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -5641,7 +5641,7 @@ The terminal type can be configured with `tramp-terminal-type'." (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) -- 2.39.2