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