Skip to content

Commit 4e0304a

Browse files
committed
Update a usage of <= for Emacs 24.4+
1 parent cf55e90 commit 4e0304a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cider-overlays.el

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,7 @@ overlay."
241241
(cider--remove-result-overlay-after-command))))
242242
(when-let* ((win (get-buffer-window buffer)))
243243
;; Left edge is visible.
244-
(when (and (<= (window-start win) (point))
245-
;; In 24.3 `<=' is still a binary perdicate.
246-
(<= (point) (window-end win))
244+
(when (and (<= (window-start win) (point) (window-end win))
247245
;; Right edge is visible. This is a little conservative
248246
;; if the overlay contains line breaks.
249247
(or (< (+ (current-column) (string-width value))

0 commit comments

Comments
 (0)