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

    Bind RET to restart current command in embark-become
---
 CHANGELOG.org | 3 +++
 embark.el     | 1 +
 2 files changed, 4 insertions(+)

diff --git a/CHANGELOG.org b/CHANGELOG.org
index a2c01fc318..77124da9bf 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -5,6 +5,9 @@
   determined by ~outline-search-function~, not just ~outline-regexp~ as
   previously. A new heading target finder specifically for eww buffers
   (with targets HTML h1, h2, etc.) was added and turned on by default.
+- Now =RET= will restart the current command in =embark-become=, this is
+  for consistency with =embark-act= which uses =RET= for the default
+  action, usually the current command.
 * Version 1.2 (2026-04-04)
 - Acted-on minibuffer candidates now get recorded in the minibuffer
   history.  You can configure which actions record history via the new
diff --git a/embark.el b/embark.el
index 16240e5ef7..2c3fe74f89 100644
--- a/embark.el
+++ b/embark.el
@@ -2639,6 +2639,7 @@ See `embark-act' for the meaning of the prefix ARG."
                        collect keymap))))
     (when embark-help-key
       (keymap-set map embark-help-key #'embark-keymap-help))
+    (keymap-set map "RET" embark--command)
     map))
 
 ;;;###autoload

Reply via email to