From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Morgan Willcock Newsgroups: gmane.emacs.bugs Subject: bug#73254: [PATCH] Require ert-x for use by ert-font-lock-deftest-file Date: Tue, 24 Sep 2024 20:24:51 +0100 Message-ID: <87v7ykn9bw.fsf@ice9.digital> References: <87wmje8duc.fsf@ice9.digital> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33685"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 73254@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 21:26:03 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1stBAg-0008Zq-MV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 21:26:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stBAJ-0007xr-JH; Tue, 24 Sep 2024 15:25:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stBAH-0007xd-BM for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 15:25:37 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stBAH-0005ik-2g for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 15:25:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=QbdPgSPkjSY3b9CTUgRbnnqsueDPJjEMe1arX9xWIko=; b=jaqTGPI6ItIBKbEuK1HxgyIevlIIOqWUpKtK8c2j4pgdAnbN1rZQGFsqhW6hgyRjCFr92VqGVNpvJ2F5ODPTOocATUmVXjPqyAkPHt6leTJdaXNpGGFXmi5+N2a3g6c/9i80NlcNWo8c41x5+DU+5z++WAR7TkFQAn7PN278hZZF+Ju2MLgm63hjlGSF/o5gMumm0G0MDk+nQ7pRvPA3neEkLPEVf05NpulZoraY7UKkbUXT3H03i8dMFWGcXktYPzAIl3CT54r89uUNUEKBNzhfO0NgzHpHdFEUcVgSRVdV7DspMURXsj6FWoMQmo18UB/aIA4mBmWD12mpVNMMFA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stBAf-0001ti-L7 for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 15:26:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87wmje8duc.fsf@ice9.digital> Resent-From: Morgan Willcock Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2024 19:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73254 X-GNU-PR-Package: emacs Original-Received: via spool by 73254-submit@debbugs.gnu.org id=B73254.17272059477262 (code B ref 73254); Tue, 24 Sep 2024 19:26:01 +0000 Original-Received: (at 73254) by debbugs.gnu.org; 24 Sep 2024 19:25:47 +0000 Original-Received: from localhost ([127.0.0.1]:38277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stBAQ-0001t4-N9 for submit@debbugs.gnu.org; Tue, 24 Sep 2024 15:25:46 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:36379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stBAO-0001sg-Bv for 73254@debbugs.gnu.org; Tue, 24 Sep 2024 15:25:45 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 0AD65240004 for <73254@debbugs.gnu.org>; Tue, 24 Sep 2024 19:24:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1727205893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=QbdPgSPkjSY3b9CTUgRbnnqsueDPJjEMe1arX9xWIko=; b=TCijOm5hThaoXWjeNcVHtPQHBnM0IWzAJ2CBaV/z1EMXmVl2LptrtEgqinKBT2d6nLusGF /z8reVgNl3TUTY8GK8Oe8H5hoS1Kgwl9qCAM6a+RipWn/WxvIhPXhLVz+aSs4Pi9A+gJLo T+/tYCciNUDHct+yjNroXvegePNjGfeCms68yl4X48uqOCIY0aomsEt2L1h9axe6EFMxfK FaK3aZcjmfomuuxV26LFfef2v92P0JTK+2hOGSTmp2TS0aY63YtPlIp9PMHfgdEUzHEDqf iN2PDwg42XJynI9tlXV8Gn+l0Glm0ThKCltc1J4GyVzvUtDzJ3vs+ngOBElJZg== X-GND-Sasl: morgan@ice9.digital X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292364 Archived-At: --=-=-= Content-Type: text/plain I have attached a patch which adds the missing require for ert-x. Thanks, Morgan -- Morgan Willcock --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Require-ert-x-for-use-by-ert-font-lock-deftest-file.patch >From 154c13d5e4b6bc574f66130fe0e92eb333f66ea4 Mon Sep 17 00:00:00 2001 From: Morgan Willcock Date: Tue, 24 Sep 2024 20:19:08 +0100 Subject: [PATCH] Require ert-x for use by ert-font-lock-deftest-file This fixes a void-function error when ert-font-lock-deftest-file is called where ert-x has not already been loaded. * lisp/emacs-lisp/ert-font-lock.el (ert): Require ert-x so that 'ert-resource-file' is available for use within 'ert-font-lock-deftest-file'. --- lisp/emacs-lisp/ert-font-lock.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/ert-font-lock.el b/lisp/emacs-lisp/ert-font-lock.el index c6fd65e1507..58c6c0311cd 100644 --- a/lisp/emacs-lisp/ert-font-lock.el +++ b/lisp/emacs-lisp/ert-font-lock.el @@ -36,6 +36,7 @@ ;;; Code: (require 'ert) +(require 'ert-x) (require 'newcomment) (require 'pcase) -- 2.39.5 --=-=-=--