aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2013-10-02 15:48:20 +0200
committerMichael Albinus2013-10-02 15:48:20 +0200
commita2f93a5fda6b8dbe169233abef552647e35167f1 (patch)
tree2d802b73dd35a74407ebc5e1cb8680f3e464b45f
parent29bf4de47479ed29ef17736d0a5cadf7e8dae209 (diff)
downloademacs-a2f93a5fda6b8dbe169233abef552647e35167f1.tar.gz
emacs-a2f93a5fda6b8dbe169233abef552647e35167f1.zip
Sync with Tramp 2.2.8.
* net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers): * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'. * net/trampver.el: Update release number.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/net/tramp-cache.el9
-rw-r--r--lisp/net/tramp-cmds.el4
-rw-r--r--lisp/net/trampver.el4
4 files changed, 18 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 49cb49dd893..14d6f8503f6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12013-10-02 Michael Albinus <michael.albinus@gmx.de>
2
3 Sync with Tramp 2.2.8.
4
5 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7 * net/trampver.el: Update release number.
8
12013-10-01 Jan Djärv <jan.h.d@swipnet.se> 92013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2 10
3 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system 11 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el
index 7407f83e92b..ba7cf7a06ef 100644
--- a/lisp/net/tramp-cache.el
+++ b/lisp/net/tramp-cache.el
@@ -291,11 +291,14 @@ KEY identifies the connection, it is either a process or a vector."
291 (when (vectorp key) 291 (when (vectorp key)
292 (dotimes (i (length key)) 292 (dotimes (i (length key))
293 (when (stringp (aref key i)) 293 (when (stringp (aref key i))
294 (aset key i (funcall 'substring-no-properties (aref key i)))))) 294 (aset key i
295 (tramp-compat-funcall
296 'substring-no-properties (aref key i))))))
295 (when (stringp key) 297 (when (stringp key)
296 (setq key (funcall 'substring-no-properties key))) 298 (setq key (tramp-compat-funcall 'substring-no-properties key)))
297 (when (stringp value) 299 (when (stringp value)
298 (setq value (funcall 'substring-no-properties value)))) 300 (setq value
301 (tramp-compat-funcall 'substring-no-properties value))))
299 ;; Dump. 302 ;; Dump.
300 (let ((tmp (format 303 (let ((tmp (format
301 "(%s %s)" 304 "(%s %s)"
diff --git a/lisp/net/tramp-cmds.el b/lisp/net/tramp-cmds.el
index 5015929534d..e23ab797c22 100644
--- a/lisp/net/tramp-cmds.el
+++ b/lisp/net/tramp-cmds.el
@@ -194,7 +194,7 @@ This includes password cache, file cache, connection cache, buffers."
194 194
195 'tramp-load-report-modules ; pre-hook 195 'tramp-load-report-modules ; pre-hook
196 'tramp-append-tramp-buffers ; post-hook 196 'tramp-append-tramp-buffers ; post-hook
197 (funcall 197 (tramp-compat-funcall
198 (if (functionp 'propertize) 'propertize 'progn) 198 (if (functionp 'propertize) 'propertize 'progn)
199 "\n" 'display "\ 199 "\n" 'display "\
200Enter your bug report in this message, including as much detail 200Enter your bug report in this message, including as much detail
@@ -361,7 +361,7 @@ the debug buffer(s).")
361 (kill-buffer nil) 361 (kill-buffer nil)
362 (switch-to-buffer curbuf) 362 (switch-to-buffer curbuf)
363 (goto-char (point-max)) 363 (goto-char (point-max))
364 (insert (propertize "\n" 'display "\n\ 364 (insert (tramp-compat-funcall 'propertize "\n" 'display "\n\
365This is a special notion of the `gnus/message' package. If you 365This is a special notion of the `gnus/message' package. If you
366use another mail agent (by copying the contents of this buffer) 366use another mail agent (by copying the contents of this buffer)
367please ensure that the buffers are attached to your email.\n\n")) 367please ensure that the buffers are attached to your email.\n\n"))
diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el
index 0e54cd60d98..8fc05872ca1 100644
--- a/lisp/net/trampver.el
+++ b/lisp/net/trampver.el
@@ -31,7 +31,7 @@
31;; should be changed only there. 31;; should be changed only there.
32 32
33;;;###tramp-autoload 33;;;###tramp-autoload
34(defconst tramp-version "2.2.8-pre" 34(defconst tramp-version "2.2.8"
35 "This version of Tramp.") 35 "This version of Tramp.")
36 36
37;;;###tramp-autoload 37;;;###tramp-autoload
@@ -44,7 +44,7 @@
44 (= emacs-major-version 21) 44 (= emacs-major-version 21)
45 (>= emacs-minor-version 4))) 45 (>= emacs-minor-version 4)))
46 "ok" 46 "ok"
47 (format "Tramp 2.2.8-pre is not fit for %s" 47 (format "Tramp 2.2.8 is not fit for %s"
48 (when (string-match "^.*$" (emacs-version)) 48 (when (string-match "^.*$" (emacs-version))
49 (match-string 0 (emacs-version))))))) 49 (match-string 0 (emacs-version)))))))
50 (unless (string-match "\\`ok\\'" x) (error "%s" x))) 50 (unless (string-match "\\`ok\\'" x) (error "%s" x)))