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

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

[elpa] externals/speedrect 43a89af9f7 52/90: allow rectangle-mark-mode-h


From: ELPA Syncer
Subject: [elpa] externals/speedrect 43a89af9f7 52/90: allow rectangle-mark-mode-hook to operate on continue
Date: Fri, 6 Dec 2024 18:59:14 -0500 (EST)

branch: externals/speedrect
commit 43a89af9f7244bd77d838963f10f79b9c355dcb5
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    allow rectangle-mark-mode-hook to operate on continue
---
 speedrect.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/speedrect.el b/speedrect.el
index 12873c8e30..15f3be9dd6 100644
--- a/speedrect.el
+++ b/speedrect.el
@@ -265,10 +265,9 @@ non-nil, stash the rectangle after the command runs."
     (when speedrect-continue
       (run-at-time 0 nil
                   (lambda ()
-                    (let ((rectangle-mark-mode-hook nil))
-                      (activate-mark)
-                      (rectangle-mark-mode 1)
-                      (speedrect-recall-last)))))))
+                    (activate-mark)
+                    (rectangle-mark-mode 1)
+                    (speedrect-recall-last))))))
 
 (defun speedrect-create-bindings ()
   "Create the bindings for speedrect.



reply via email to

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