diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-01-01 12:52:47 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-01-01 12:56:51 +0100 |
commit | 2baf9e107c1d6f1c71f5804b6bd933d3f5d6a9ea (patch) | |
tree | f6769477e049d61597b4fd0b38385fa771032205 /test/lisp/emacs-lisp/shortdoc-tests.el | |
parent | 5aeb8de32ee54baacedfcfc56d951b04145dea5d (diff) | |
download | emacs-2baf9e107c1d6f1c71f5804b6bd933d3f5d6a9ea.tar.gz emacs-2baf9e107c1d6f1c71f5804b6bd933d3f5d6a9ea.tar.bz2 emacs-2baf9e107c1d6f1c71f5804b6bd933d3f5d6a9ea.zip |
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.
Diffstat (limited to 'test/lisp/emacs-lisp/shortdoc-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/shortdoc-tests.el | 1 |
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." |