]> git.eshelyaron.com Git - emacs.git/commitdiff
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)
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

index c6fd65e150726881a80ff899509a0a308e39a8d8..58c6c0311cda9821f1a184b0ab15b7922000f8e4 100644 (file)
@@ -36,6 +36,7 @@
 ;;; Code:
 
 (require 'ert)
+(require 'ert-x)
 (require 'newcomment)
 (require 'pcase)