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 D61611382C5 for ; Tue, 13 Apr 2021 07:12:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA9BEE0C31; Tue, 13 Apr 2021 07:12:08 +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 56353E0C31 for ; Tue, 13 Apr 2021 07:12:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 06D94340A12 for ; Tue, 13 Apr 2021 07:12:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6973D5B8 for ; Tue, 13 Apr 2021 07:12:04 +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: <1618297396.3cf9cb16fbaaeb45eaeb8bfb1a5fad638fbe4255.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: 3cf9cb16fbaaeb45eaeb8bfb1a5fad638fbe4255 X-VCS-Branch: master Date: Tue, 13 Apr 2021 07:12:04 +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: f530a7cc-43e6-4d9d-b8ab-0da821c9fe3e X-Archives-Hash: f18c140a4f184f77270aab13d4db23ae commit: 3cf9cb16fbaaeb45eaeb8bfb1a5fad638fbe4255 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:03:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=3cf9cb16 elisp-common.eclass: Drop deprectated elisp-need-emacs()a 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: