Subject: [PATCH] Require ert-x for use by ert-font-lock-deftest-file

From: Morgan Willcock <[email-masked]>
Date: Tue, 24 Sep 2024 20:24:51 +0100

I have attached a patch which adds the missing require for ert-x.

Thanks,
Morgan

-- 
Morgan Willcock
>From 154c13d5e4b6bc574f66130fe0e92eb333f66ea4 Mon Sep 17 00:00:00 2001
From: Morgan Willcock <[email-masked]>
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