emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/embark ab920eaadf: Fix bug that broke act-all on target


From: ELPA Syncer
Subject: [elpa] externals/embark ab920eaadf: Fix bug that broke act-all on targets with no bounds
Date: Thu, 11 May 2023 23:57:47 -0400 (EDT)

branch: externals/embark
commit ab920eaadf43bcb92832c980adbf2d8c9468ec98
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>

    Fix bug that broke act-all on targets with no bounds
    
    I've been testing so much on selections in regular buffers I didn't
    notice the parenthesis were incorrectly nested! 😬
---
 embark.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/embark.el b/embark.el
index 91a6ae2b09..ede4d3c80a 100644
--- a/embark.el
+++ b/embark.el
@@ -2385,8 +2385,8 @@ ARG is the prefix argument."
                                 ((symbol-function 'embark--confirm) #'ignore))
                         (let ((prefix-arg prefix))
                           (when-let ((bounds (plist-get candidate :bounds)))
-                            (goto-char (car bounds))
-                            (embark--act action candidate))))))
+                            (goto-char (car bounds)))
+                          (embark--act action candidate)))))
                (quit (embark--quit-p action)))
           (when (and (eq action (embark--default-action type))
                      (eq action embark--command))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]