branch: externals/embark
commit 085643716fa811275dc72d338238c5757a59d836
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>

    lambdas are consp and are mistakenly excluded from binding lists!
    
    Fix #500.
---
 embark.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/embark.el b/embark.el
index 36290f552f..0849869b40 100644
--- a/embark.el
+++ b/embark.el
@@ -1222,6 +1222,7 @@ If NESTED is non-nil subkeymaps are not flattened."
                    unless (or
                            ;; skip which-key pseudo keys and other invalid 
pairs
                            (and (not (keymapp cmd))
+                                (not (functionp cmd))
                                 (consp cmd)
                                 (not (stringp (car cmd))))
                            (memq cmd '(embark-keymap-help

Reply via email to