Subject: Re: bug#24777: 26.0.50; Incorrect Edebug spec for map-let

From: Gemini Lasswell <[email-masked]>
Date: Sat, 04 Feb 2017 15:22:35 -0800

Tags: patch
Gemini Lasswell <[email-masked]> writes:

> I tried replacing map-let's debug spec with this, and it is working for me:
>
> (debug ((&rest &or symbolp ([form symbolp])) form body))

Here is the fixed debug spec, as a patch:

>From 5c2b689e927d7092a25c8cdb07f6dbf75d889556 Mon Sep 17 00:00:00 2001
From: Gemini Lasswell <[email-masked]>
Date: Sat, 4 Feb 2017 15:04:20 -0800
Subject: [PATCH] * lisp/emacs-lisp/map.el (map-let): Fix Edebug spec
 (Bug#24777)

---
 lisp/emacs-lisp/map.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index a89457e..b60f489 100644
--- a/lisp/emacs-lisp/map.el
+++ b/lisp/emacs-lisp/map.el
@@ -73,7 +73,8 @@ map-let
 KEY is an unquoted form.
 
 MAP can be a list, hash-table or array."
-  (declare (indent 2) (debug t))
+  (declare (indent 2)
+           (debug ((&rest &or symbolp ([form symbolp])) form body)))
   `(pcase-let ((,(map--make-pcase-patterns keys) ,map))
      ,@body))
 
-- 
2.10.1