]> git.eshelyaron.com Git - emacs.git/commit
Require ert-x for use by 'ert-font-lock-deftest-file'
authorMorgan Willcock <morgan@ice9.digital>
Tue, 24 Sep 2024 19:19:08 +0000 (20:19 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 30 Sep 2024 19:40:40 +0000 (21:40 +0200)
commit0c9092971ca08d2677f0d934158b4360696db796
tree140f13b775adc44ae1f6c70b9b9874588ff84807
parent8a7b3b95d2e1572f5a5fc36957de3c335a6b694f
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 when 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'.  (Bug#73254)

(cherry picked from commit e8830015b0714173a1eca75ea606d88bce1af48b)
lisp/emacs-lisp/ert-font-lock.el