aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2011-10-23 17:59:54 +0200
committerMichael Albinus2011-10-23 17:59:54 +0200
commit09388e760d7b1683aa5ee2684d246a9bec0c0b0e (patch)
tree572a6524dbd69c75803fb2436dd190a73a7d6c53
parentda97a9e66a0f2cd705d26cc2c5bb21f810e892f1 (diff)
downloademacs-09388e760d7b1683aa5ee2684d246a9bec0c0b0e.tar.gz
emacs-09388e760d7b1683aa5ee2684d246a9bec0c0b0e.zip
Sync with Tramp 2.2.3.
* net/tramp-cache.el (top): Pacify byte-compiler using `init-file-user' and `site-run-file'. * net/trampver.el: Update release number.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/net/tramp-cache.el3
-rw-r--r--lisp/net/trampver.el4
3 files changed, 13 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 09e2e7dc1de..8ceb3617176 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12011-10-23 Michael Albinus <michael.albinus@gmx.de>
2
3 Sync with Tramp 2.2.3.
4
5 * net/tramp-cache.el (top): Pacify byte-compiler using
6 `init-file-user' and `site-run-file'.
7
8 * net/trampver.el: Update release number.
9
12011-10-23 Chong Yidong <cyd@gnu.org> 102011-10-23 Chong Yidong <cyd@gnu.org>
2 11
3 * files.el (toggle-read-only): Remove obsolete comment about 12 * files.el (toggle-read-only): Remove obsolete comment about
diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el
index 9397025cb60..b35ca3bbd18 100644
--- a/lisp/net/tramp-cache.el
+++ b/lisp/net/tramp-cache.el
@@ -383,7 +383,8 @@ for all methods. Resulting data are derived from connection history."
383 ;; When "emacs -Q" has been called, both variables are nil. 383 ;; When "emacs -Q" has been called, both variables are nil.
384 ;; We do not load the persistency file then, in order to 384 ;; We do not load the persistency file then, in order to
385 ;; have a clean test environment. 385 ;; have a clean test environment.
386 (or init-file-user site-run-file)) 386 (or (and (boundp 'init-file-user) (symbol-value 'init-file-user))
387 (and (boundp 'site-run-file) (symbol-value 'site-run-file))))
387 (condition-case err 388 (condition-case err
388 (with-temp-buffer 389 (with-temp-buffer
389 (insert-file-contents tramp-persistency-file-name) 390 (insert-file-contents tramp-persistency-file-name)
diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el
index 5492441ac77..fc0c936c407 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.3-pre" 34(defconst tramp-version "2.2.3-24.1"
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.3-pre is not fit for %s" 47 (format "Tramp 2.2.3-24.1 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)))