aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2014-05-17 11:00:54 +0200
committerMichael Albinus2014-05-17 11:00:54 +0200
commit43425aecb1ffb57dc23716175b8b01bab43edb6e (patch)
tree11c52d9c722f90a7483e6f3ccfd9db69e1e5ab8f
parent1e046d37a49e235c2461630086a65a09ec6cb792 (diff)
downloademacs-43425aecb1ffb57dc23716175b8b01bab43edb6e.tar.gz
emacs-43425aecb1ffb57dc23716175b8b01bab43edb6e.zip
* net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
for a temporary file name.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp-sh.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fc18c9d77d8..455b8f269d7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-05-17 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
4 for a temporary file name.
5
12014-05-17 Eli Zaretskii <eliz@gnu.org> 62014-05-17 Eli Zaretskii <eliz@gnu.org>
2 7
3 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511) 8 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 900e1c812ae..15aa1329817 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -4137,7 +4137,7 @@ Goes through the list `tramp-local-coding-commands' and
4137 tmpfile) 4137 tmpfile)
4138 (while (string-match (regexp-quote "-") name) 4138 (while (string-match (regexp-quote "-") name)
4139 (setq name (replace-match "_" nil t name))) 4139 (setq name (replace-match "_" nil t name)))
4140 (when (string-match "%t" value) 4140 (when (string-match "\\(^\\|[^%]\\)%t" value)
4141 (setq tmpfile 4141 (setq tmpfile
4142 (make-temp-name 4142 (make-temp-name
4143 (expand-file-name 4143 (expand-file-name