branch: externals/easy-kill commit 70563762a71426b80192eac4c1a9f5c2c2c829e2 Author: Leo Liu <sdl....@gmail.com> Commit: Leo Liu <sdl....@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)