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.
This commit is contained in:
parent
5aeb8de32e
commit
2baf9e107c
1 changed files with 1 additions and 0 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue