summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-01-01 12:52:47 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2023-01-01 12:56:51 +0100
commit2baf9e107c1d6f1c71f5804b6bd933d3f5d6a9ea (patch)
treef6769477e049d61597b4fd0b38385fa771032205
parent5aeb8de32ee54baacedfcfc56d951b04145dea5d (diff)
downloademacs-2baf9e107c1d6f1c71f5804b6bd933d3f5d6a9ea.tar.gz
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.
-rw-r--r--test/lisp/emacs-lisp/shortdoc-tests.el1
1 files changed, 1 insertions, 0 deletions
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."