From: Mattias EngdegÄrd Date: Sun, 1 Jan 2023 11:52:47 +0000 (+0100) Subject: Fix shortdoc-tests failure with respect to regexp-opt-charset X-Git-Tag: emacs-29.0.90~880 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2baf9e107c1d6f1c71f5804b6bd933d3f5d6a9ea;p=emacs.git Fix shortdoc-tests failure with respect to regexp-opt-charset * test/lisp/emacs-lisp/shortdoc-tests.el (regexp-opt): Require. `regexp-opt-charset` is not autoloaded, and whether `regexp-opt` is preloaded is configuration-dependent. --- diff --git a/test/lisp/emacs-lisp/shortdoc-tests.el b/test/lisp/emacs-lisp/shortdoc-tests.el index 914aee633ee..516d095767f 100644 --- a/test/lisp/emacs-lisp/shortdoc-tests.el +++ b/test/lisp/emacs-lisp/shortdoc-tests.el @@ -22,6 +22,7 @@ (require 'ert) (require 'shortdoc) (require 'subr-x) ; `string-pad' in shortdoc group needed at run time +(require 'regexp-opt) ; `regexp-opt-charset' not autoloaded (defun shortdoc-tests--tree-contains (tree fun) "Whether TREE contains a call to FUN."