1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix type declaration.

This commit is contained in:
Andrea Corallo 2024-04-30 09:19:31 +02:00
parent 0757ea9865
commit 1087d55d27

View File

@ -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.