Commit | Line | Data |
---|---|---|
b1a2b924 KG |
1 | ;;; trampver.el --- Transparent Remote Access, Multiple Protocol |
2 | ;;; lisp/trampver.el. Generated from trampver.el.in by configure. | |
3 | ||
ba318903 | 4 | ;; Copyright (C) 2003-2014 Free Software Foundation, Inc. |
b1a2b924 | 5 | |
e52196e0 | 6 | ;; Author: Kai Großjohann <kai.grossjohann@gmx.net> |
b1a2b924 | 7 | ;; Keywords: comm, processes |
bd78fa1d | 8 | ;; Package: tramp |
b1a2b924 KG |
9 | |
10 | ;; This file is part of GNU Emacs. | |
11 | ||
5a1dde61 | 12 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
b1a2b924 | 13 | ;; it under the terms of the GNU General Public License as published by |
5a1dde61 GM |
14 | ;; the Free Software Foundation, either version 3 of the License, or |
15 | ;; (at your option) any later version. | |
b1a2b924 KG |
16 | |
17 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | ;; GNU General Public License for more details. | |
21 | ||
22 | ;; You should have received a copy of the GNU General Public License | |
5a1dde61 | 23 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
b1a2b924 KG |
24 | |
25 | ;;; Code: | |
26 | ||
b533bc97 MA |
27 | ;; In the Tramp CVS repository, the version number and the bug report |
28 | ;; address are auto-frobbed from configure.ac, so you should edit that | |
29 | ;; file and run "autoconf && ./configure" to change them. (X)Emacs | |
30 | ;; version check is defined in macro AC_EMACS_INFO of aclocal.m4; | |
31 | ;; should be changed only there. | |
b1a2b924 | 32 | |
0f34aa77 | 33 | ;;;###tramp-autoload |
493ce45c | 34 | (defconst tramp-version "2.2.10" |
b1a2b924 KG |
35 | "This version of Tramp.") |
36 | ||
0f34aa77 | 37 | ;;;###tramp-autoload |
340b8d4f | 38 | (defconst tramp-bug-report-address "tramp-devel@gnu.org" |
b1a2b924 KG |
39 | "Email address to send bug reports to.") |
40 | ||
00d6fd04 | 41 | ;; Check for (X)Emacs version. |
0f34aa77 MA |
42 | (let ((x (if (or (>= emacs-major-version 22) |
43 | (and (featurep 'xemacs) | |
44 | (= emacs-major-version 21) | |
45 | (>= emacs-minor-version 4))) | |
46 | "ok" | |
493ce45c | 47 | (format "Tramp 2.2.10 is not fit for %s" |
0f34aa77 MA |
48 | (when (string-match "^.*$" (emacs-version)) |
49 | (match-string 0 (emacs-version))))))) | |
e9e4d619 | 50 | (unless (string-match "\\`ok\\'" x) (error "%s" x))) |
00d6fd04 | 51 | |
0f34aa77 MA |
52 | (add-hook 'tramp-unload-hook |
53 | (lambda () | |
54 | (unload-feature 'trampver 'force))) | |
55 | ||
b1a2b924 KG |
56 | (provide 'trampver) |
57 | ||
58 | ;;; trampver.el ends here | |
c9e646c2 MA |
59 | |
60 | ;; Local Variables: | |
61 | ;; mode: Emacs-Lisp | |
62 | ;; coding: utf-8 | |
63 | ;; End: |