]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "; Reverse debug spec of cl-flet (bug#65344)"
authorGerd Möllmann <gerd@gnu.org>
Wed, 23 Aug 2023 11:03:43 +0000 (13:03 +0200)
committerGerd Möllmann <gerd@gnu.org>
Wed, 23 Aug 2023 11:06:03 +0000 (13:06 +0200)
This reverts commit cc0f546825e0db9ff78f82c62615686aa480a133.

lisp/emacs-lisp/cl-macs.el

index 254a10781fe02b0f67cd962ffcb893159134b0b8..4cc43995c1256a253cd123f56e3028e824a22dd4 100644 (file)
@@ -2075,22 +2075,15 @@ info node `(cl) Function Bindings' for details.
 
 \(fn ((FUNC ARGLIST BODY...) ...) FORM...)"
   (declare (indent 1)
-           (debug ((&rest [&or
-                           ;; This spec must come first so that a
-                           ;; binding of the form (FN FORM) is always
-                           ;; interpreted as FORM being a form
-                           ;; returning a function, instead of FORM
-                           ;; being a cl-lambda-list and FN returning
-                           ;; nil.
-                           (&define [&name symbolp "@cl-flet@"]
-                                    [&name [] gensym] ;Make it unique!
-                                    def-form)
-                           (&define [&name symbolp "@cl-flet@"]
-                                    [&name [] gensym] ;Make it unique!
-                                    cl-lambda-list
-                                    cl-declarations-or-string
-                                    [&optional ("interactive" interactive)]
-                                    def-body)])
+           (debug ((&rest [&or (&define [&name symbolp "@cl-flet@"]
+                                        [&name [] gensym] ;Make it unique!
+                                        cl-lambda-list
+                                        cl-declarations-or-string
+                                        [&optional ("interactive" interactive)]
+                                        def-body)
+                               (&define [&name symbolp "@cl-flet@"]
+                                        [&name [] gensym] ;Make it unique!
+                                        def-form)])
                    cl-declarations body)))
   (let ((binds ()) (newenv macroexpand-all-environment))
     (dolist (binding bindings)