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

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

[elpa] externals/easy-kill 7056376 07/14: Fix #25: Avoid using `<=' feat


From: Stefan Monnier
Subject: [elpa] externals/easy-kill 7056376 07/14: Fix #25: Avoid using `<=' feature from 24.4
Date: Mon, 15 Mar 2021 22:20:16 -0400 (EDT)

branch: externals/easy-kill
commit 70563762a71426b80192eac4c1a9f5c2c2c829e2
Author: Leo Liu <sdl.web@gmail.com>
Commit: Leo Liu <sdl.web@gmail.com>

    Fix #25: Avoid using `<=' feature from 24.4
---
 easy-kill.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/easy-kill.el b/easy-kill.el
index 684a209..38f15c1 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -419,7 +419,9 @@ checked."
   ;; boundary not containing current point.
   (cl-flet ((chk (bound)
               (pcase-let ((`(,b . ,e) bound))
-                (and b e (<= b (point) e) (cons b e)))))
+                (and b e
+                     (<= b (point)) (<= (point) e)
+                     (cons b e)))))
     (pcase (easy-kill-thing-handler
             (format "easy-kill-bounds-of-%s-at-point" thing)
             major-mode)



reply via email to

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