]> code.delx.au - gnu-emacs/commitdiff
* net/tramp.el (tramp-process-one-action): Embed regexp in
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 14 Oct 2008 05:53:56 +0000 (05:53 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 14 Oct 2008 05:53:56 +0000 (05:53 +0000)
parentheses, before adding end-of-buffer construct.  Suggested by
Markus Triska <markus.triska@gmx.at>.

lisp/ChangeLog
lisp/net/tramp.el

index 12208786795ab512df369b8a3103ac513000a60b..1f9e909b1aa2638da67667e91f334b222f4a029f 100644 (file)
@@ -1,3 +1,9 @@
+2008-10-14  Michael Albinus  <michael.albinus@gmx.de>
+
+       * 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>.
+
 2008-10-13  Ulf Jasper  <ulf.jasper@web.de>
 
        * net/newst-plainview.el (w3m-toggle-inline-image):
index 68f75eb7771a81b83bfa8f8cd692ffdd56bf89f7..84917dc8dfd5deb596779f2061b7bc30d02e6af8 100644 (file)
@@ -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)