From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4132E1382C5 for ; Tue, 13 Apr 2021 07:15:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 938A2E0C37; Tue, 13 Apr 2021 07:15:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79390E0C37 for ; Tue, 13 Apr 2021 07:15:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9AE39335C6F for ; Tue, 13 Apr 2021 07:15:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B19D4D2 for ; Tue, 13 Apr 2021 07:15:11 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1618298094.7c57c1893e9f1a16ad09459f3941b86374539340.ulm@gentoo> Subject: [gentoo-commits] repo/proj/emacs:master commit in: eclass/ X-VCS-Repository: repo/proj/emacs X-VCS-Files: eclass/elisp-common.eclass X-VCS-Directories: eclass/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 7c57c1893e9f1a16ad09459f3941b86374539340 X-VCS-Branch: master Date: Tue, 13 Apr 2021 07:15:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b56c3429-a8a7-47ad-8ab5-8d6fed83d565 X-Archives-Hash: f702f442a8e823f9984e1528ddc32e64 commit: 7c57c1893e9f1a16ad09459f3941b86374539340 Author: Ulrich Müller gentoo org> AuthorDate: Tue Apr 13 07:03:16 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Apr 13 07:14:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=7c57c189 elisp-common.eclass: Drop deprectated elisp-need-emacs() Signed-off-by: Ulrich Müller gentoo.org> eclass/elisp-common.eclass | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 9de2581..90621cb 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -277,27 +277,6 @@ elisp-check-emacs-version() { fi } -# Test if the eselected Emacs version is at least the major version -# of GNU Emacs specified as argument. -# Return 0 if true, 1 if false, 2 if trouble. -# Deprecated, use elisp-check-emacs-version instead. - -elisp-need-emacs() { - local need_emacs=$1 have_emacs - have_emacs=$(elisp-emacs-version) || return 2 - einfo "Emacs version: ${have_emacs}" - if [[ ${have_emacs} =~ XEmacs|Lucid ]]; then - eerror "This package needs GNU Emacs." - return 1 - fi - if ! [[ ${have_emacs%%.*} -ge ${need_emacs%%.*} ]]; then - eerror "This package needs at least Emacs ${need_emacs%%.*}." - eerror "Use \"eselect emacs\" to select the active version." - return 1 - fi - return 0 -} - # @FUNCTION: elisp-compile # @USAGE: # @DESCRIPTION: