aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorMichael Albinus2008-10-14 05:53:56 +0000
committerMichael Albinus2008-10-14 05:53:56 +0000
commit95d610cb981ef34896c67f5f07ccb2cff698693c (patch)
tree9ac66dc1eb5449fe09a280ac82515777bc9b5df2 /lisp/net
parente69a00b7497cbd826071e453f7ada164cecc98da (diff)
downloademacs-95d610cb981ef34896c67f5f07ccb2cff698693c.tar.gz
emacs-95d610cb981ef34896c67f5f07ccb2cff698693c.zip
* 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>.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/tramp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 68f75eb7771..84917dc8dfd 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'."
5641 (setq todo actions) 5641 (setq todo actions)
5642 (while todo 5642 (while todo
5643 (setq item (pop todo)) 5643 (setq item (pop todo))
5644 (setq pattern (concat (symbol-value (nth 0 item)) "\\'")) 5644 (setq pattern (format "\\(%s\\)\\'" (symbol-value (nth 0 item))))
5645 (setq action (nth 1 item)) 5645 (setq action (nth 1 item))
5646 (tramp-message 5646 (tramp-message
5647 vec 5 "Looking for regexp \"%s\" from remote shell" pattern) 5647 vec 5 "Looking for regexp \"%s\" from remote shell" pattern)