projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0757ea9
)
* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix type declaration.
author
Andrea Corallo
<acorallo@gnu.org>
Tue, 30 Apr 2024 07:19:31 +0000
(09:19 +0200)
committer
Andrea Corallo
<acorallo@gnu.org>
Tue, 30 Apr 2024 07:19:31 +0000
(09:19 +0200)
lisp/emacs-lisp/regexp-opt.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/regexp-opt.el
b/lisp/emacs-lisp/regexp-opt.el
index 076232bc613faf33b877cdcf888d3a8b0396eafc..f23343a34c6e5e8250b8e215f702a9be0ab2f498 100644
(file)
--- 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.