From a2f93a5fda6b8dbe169233abef552647e35167f1 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 2 Oct 2013 15:48:20 +0200 Subject: [PATCH] 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. --- lisp/ChangeLog | 8 ++++++++ lisp/net/tramp-cache.el | 9 ++++++--- lisp/net/tramp-cmds.el | 4 ++-- lisp/net/trampver.el | 4 ++-- 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 @@ +2013-10-02 Michael Albinus + + 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. + 2013-10-01 Jan Djärv * 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." (when (vectorp key) (dotimes (i (length key)) (when (stringp (aref key i)) - (aset key i (funcall 'substring-no-properties (aref key i)))))) + (aset key i + (tramp-compat-funcall + 'substring-no-properties (aref key i)))))) (when (stringp key) - (setq key (funcall 'substring-no-properties key))) + (setq key (tramp-compat-funcall 'substring-no-properties key))) (when (stringp value) - (setq value (funcall 'substring-no-properties value)))) + (setq value + (tramp-compat-funcall 'substring-no-properties value)))) ;; Dump. (let ((tmp (format "(%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." 'tramp-load-report-modules ; pre-hook 'tramp-append-tramp-buffers ; post-hook - (funcall + (tramp-compat-funcall (if (functionp 'propertize) 'propertize 'progn) "\n" 'display "\ Enter your bug report in this message, including as much detail @@ -361,7 +361,7 @@ the debug buffer(s).") (kill-buffer nil) (switch-to-buffer curbuf) (goto-char (point-max)) - (insert (propertize "\n" 'display "\n\ + (insert (tramp-compat-funcall 'propertize "\n" 'display "\n\ This is a special notion of the `gnus/message' package. If you use another mail agent (by copying the contents of this buffer) please 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 @@ ;; should be changed only there. ;;;###tramp-autoload -(defconst tramp-version "2.2.8-pre" +(defconst tramp-version "2.2.8" "This version of Tramp.") ;;;###tramp-autoload @@ -44,7 +44,7 @@ (= emacs-major-version 21) (>= emacs-minor-version 4))) "ok" - (format "Tramp 2.2.8-pre is not fit for %s" + (format "Tramp 2.2.8 is not fit for %s" (when (string-match "^.*$" (emacs-version)) (match-string 0 (emacs-version))))))) (unless (string-match "\\`ok\\'" x) (error "%s" x))) -- 2.11.4.GIT