From: Michael Albinus Date: Mon, 27 Aug 2018 14:45:50 +0000 (+0200) Subject: Bump Tramp version to 2.4.1-pre X-Git-Tag: emacs-27.0.90~4508 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f2701917e28b2aca6d98d8214e5ef2ff648a11f8;p=emacs.git Bump Tramp version to 2.4.1-pre * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.1-pre". * lisp/net/tramp.el: Add "Package-Requires" header. --- diff --git a/doc/misc/trampver.texi b/doc/misc/trampver.texi index 6d02b043b64..807330bb9b1 100644 --- a/doc/misc/trampver.texi +++ b/doc/misc/trampver.texi @@ -8,7 +8,7 @@ @c In the Tramp GIT, the version number is auto-frobbed from @c configure.ac, so you should edit that file and run @c "autoconf && ./configure" to change the version number. -@set trampver 2.4.0 +@set trampver 2.4.1-pre @c Other flags from configuration @set instprefix /usr/local diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 457fd7fbcca..0033f2c1700 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -8,6 +8,7 @@ ;; Keywords: comm, processes ;; Package: tramp ;; Version: 2.4.1-pre +;; Package-Requires: ((emacs "24.1")) ;; This file is part of GNU Emacs. @@ -36,8 +37,6 @@ ;; Notes: ;; ----- ;; -;; This package only works for Emacs 24.1 and higher. -;; ;; Also see the todo list at the bottom of this file. ;; ;; The current version of Tramp can be retrieved from the following URL: diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el index 9bc8768384e..1956ab648b3 100644 --- a/lisp/net/trampver.el +++ b/lisp/net/trampver.el @@ -7,7 +7,6 @@ ;; Maintainer: Michael Albinus ;; Keywords: comm, processes ;; Package: tramp -;; Version: 2.4.0 ;; This file is part of GNU Emacs. @@ -33,7 +32,7 @@ ;; should be changed only there. ;;;###tramp-autoload -(defconst tramp-version "2.4.0" +(defconst tramp-version "2.4.1-pre" "This version of Tramp.") ;;;###tramp-autoload @@ -53,10 +52,10 @@ (replace-regexp-in-string "\n" "" (buffer-string)))))))) ;; Check for Emacs version. -(let ((x (if (>= emacs-major-version 24) - "ok" - (format "Tramp 2.4.0 is not fit for %s" - (replace-regexp-in-string "\n" "" (emacs-version)))))) +(let ((x (if (not (string-lessp emacs-version "24.1")) + "ok" + (format "Tramp 2.4.1-pre is not fit for %s" + (replace-regexp-in-string "\n" "" (emacs-version)))))) (unless (string-equal "ok" x) (error "%s" x))) ;; Tramp versions integrated into Emacs.