emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/lisp-func-type-decls 1087d55d271: * lisp/emacs-lisp/regexp-opt.e


From: Andrea Corallo
Subject: scratch/lisp-func-type-decls 1087d55d271: * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix type declaration.
Date: Tue, 30 Apr 2024 03:20:33 -0400 (EDT)

branch: scratch/lisp-func-type-decls
commit 1087d55d2710f610edc5195175e2260aebaa4589
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix type declaration.
---
 lisp/emacs-lisp/regexp-opt.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]