From: Morgan Willcock <morgan@ice9.digital>
To: 73254@debbugs.gnu.org
Subject: bug#73254: [PATCH] Require ert-x for use by ert-font-lock-deftest-file
Date: Tue, 24 Sep 2024 20:24:51 +0100 [thread overview]
Message-ID: <87v7ykn9bw.fsf@ice9.digital> (raw)
In-Reply-To: <87wmje8duc.fsf@ice9.digital>
[-- Attachment #1: Type: text/plain, Size: 103 bytes --]
I have attached a patch which adds the missing require for ert-x.
Thanks,
Morgan
--
Morgan Willcock
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Require-ert-x-for-use-by-ert-font-lock-deftest-file.patch --]
[-- Type: text/x-diff, Size: 876 bytes --]
From 154c13d5e4b6bc574f66130fe0e92eb333f66ea4 Mon Sep 17 00:00:00 2001
From: Morgan Willcock <morgan@ice9.digital>
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
next prev parent reply other threads:[~2024-09-24 19:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-14 15:16 bug#73254: 30.0.91; ert-font-lock-deftest-file requires ert-x but does not load it Morgan Willcock
2024-09-24 19:24 ` Morgan Willcock [this message]
2024-09-28 11:11 ` bug#73254: [PATCH] Require ert-x for use by ert-font-lock-deftest-file Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v7ykn9bw.fsf@ice9.digital \
--to=morgan@ice9.digital \
--cc=73254@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).