branch: externals/embark commit baf371fa89acc2f9c18429d9b559a17a4e931faa Author: David Morgan <djm...@protonmail.com> Commit: David Morgan <djm...@protonmail.com>
Fix eval depth error when remapping to embark-dwim --- embark.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/embark.el b/embark.el index a055e90875..58ca314387 100644 --- a/embark.el +++ b/embark.el @@ -2523,7 +2523,8 @@ See `embark-act' for the meaning of the prefix ARG." targets))) (type (plist-get target :type)) (default-action (embark--default-action type)) - (action (or (command-remapping default-action) default-action))) + (command-remapping (command-remapping default-action)) + (action (or (unless (eq 'embark-dwim command-remapping) command-remapping) default-action))) (unless action (user-error "No default action for %s targets" type)) (when (and arg (minibufferp)) (setq embark--toggle-quit t))