]> code.delx.au - gnu-emacs/blobdiff - lisp/net/trampver.el
* net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
[gnu-emacs] / lisp / net / trampver.el
index 0fc0cd3657b17b869c9ffcb55543bae7d0873b01..993fbda6dd7eb6afae6e45dba9737fcab50053f1 100644 (file)
@@ -1,11 +1,11 @@
 ;;; trampver.el --- Transparent Remote Access, Multiple Protocol
 ;;; lisp/trampver.el.  Generated from trampver.el.in by configure.
 
-;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-;;   2011 Free Software Foundation, Inc.
+;; Copyright (C) 2003-2013 Free Software Foundation, Inc.
 
 ;; Author: Kai Großjohann <kai.grossjohann@gmx.net>
 ;; Keywords: comm, processes
+;; Package: tramp
 
 ;; This file is part of GNU Emacs.
 
 ;; version check is defined in macro AC_EMACS_INFO of aclocal.m4;
 ;; should be changed only there.
 
-(defconst tramp-version "2.1.21-pre"
+;;;###tramp-autoload
+(defconst tramp-version "2.2.6-24.3"
   "This version of Tramp.")
 
+;;;###tramp-autoload
 (defconst tramp-bug-report-address "tramp-devel@gnu.org"
   "Email address to send bug reports to.")
 
 ;; Check for (X)Emacs version.
-(let ((x (if (or (>= emacs-major-version 22)   (and (featurep 'xemacs)      (= emacs-major-version 21)      (>= emacs-minor-version 4)))    "ok"    (format "Tramp 2.1.21-pre is not fit for %s"           (when (string-match "^.*$" (emacs-version))       (match-string 0 (emacs-version)))))))
+(let ((x (if (or (>= emacs-major-version 22)
+                (and (featurep 'xemacs)
+                     (= emacs-major-version 21)
+                     (>= emacs-minor-version 4)))
+            "ok"
+          (format "Tramp 2.2.6-24.3 is not fit for %s"
+                  (when (string-match "^.*$" (emacs-version))
+                    (match-string 0 (emacs-version)))))))
   (unless (string-match "\\`ok\\'" x) (error "%s" x)))
 
+(add-hook 'tramp-unload-hook
+         (lambda ()
+           (unload-feature 'trampver 'force)))
+
 (provide 'trampver)
 
-;; arch-tag: 443576ca-f8f1-4bb1-addc-5c70861e93b1
 ;;; trampver.el ends here
 
 ;; Local Variables: