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

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

[elpa] externals/embark 7fcdc1cdb1: Fix #624, a bug introduced with the


From: ELPA Syncer
Subject: [elpa] externals/embark 7fcdc1cdb1: Fix #624, a bug introduced with the selection functionality
Date: Tue, 25 Apr 2023 07:57:42 -0400 (EDT)

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

    Fix #624, a bug introduced with the selection functionality
---
 embark.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/embark.el b/embark.el
index e526e78755..ac6084ca8d 100644
--- a/embark.el
+++ b/embark.el
@@ -3818,12 +3818,12 @@ and leaves the point to the left of it."
 
 (cl-defun embark--beginning-of-target (&key bounds &allow-other-keys)
   "Go to beginning of the target BOUNDS."
-  (when (number-or-marker-p bounds)
+  (when (number-or-marker-p (car bounds))
     (goto-char (car bounds))))
 
 (cl-defun embark--end-of-target (&key bounds &allow-other-keys)
   "Go to end of the target BOUNDS."
-  (when (number-or-marker-p bounds)
+  (when (number-or-marker-p (cdr bounds))
     (goto-char (cdr bounds))))
 
 (cl-defun embark--mark-target (&rest rest &key run bounds &allow-other-keys)



reply via email to

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