diff options
author | Andrea Corallo <acorallo@gnu.org> | 2024-04-30 09:19:31 +0200 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2024-04-30 09:19:31 +0200 |
commit | 1087d55d2710f610edc5195175e2260aebaa4589 (patch) | |
tree | 8f0df4294065cf0fec5dd29758c7f76d52234eb7 /lisp/emacs-lisp/regexp-opt.el | |
parent | 0757ea98654bef58d19a46ce2f7ce1a715ec65ca (diff) | |
download | emacs-1087d55d2710f610edc5195175e2260aebaa4589.tar.gz emacs-1087d55d2710f610edc5195175e2260aebaa4589.tar.bz2 emacs-1087d55d2710f610edc5195175e2260aebaa4589.zip |
* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix type declaration.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
-rw-r--r-- | lisp/emacs-lisp/regexp-opt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el index 076232bc613..f23343a34c6 100644 --- a/lisp/emacs-lisp/regexp-opt.el +++ b/lisp/emacs-lisp/regexp-opt.el @@ -130,7 +130,7 @@ usually more efficient than that of a simplified version: (concat (car parens) (mapconcat \\='regexp-quote strings \"\\\\|\") (cdr parens))))" - (declare (type (function (list) string)) + (declare (type (function (list &optional t) string)) (pure t) (side-effect-free t)) (save-match-data ;; Recurse on the sorted list. |