Skip to content

Commit e97b68d

Browse files
committed
fix: new interface for cider--display-interactive-eval-result
function changed at clojure-emacs/cider#3524 which included in cider version v1.8.3
1 parent fe44efd commit e97b68d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lispy.el

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4253,8 +4253,11 @@ When at an outline, eval the outline."
42534253
(lispy-message res))
42544254
((or (fboundp 'cider--display-interactive-eval-result)
42554255
(require 'cider nil t))
4256-
(cider--display-interactive-eval-result
4257-
res (cdr (lispy--bounds-dwim))))
4256+
(if (version< cider-version "1.9.0")
4257+
(cider--display-interactive-eval-result
4258+
res (cdr (lispy--bounds-dwim)))
4259+
(cider--display-interactive-eval-result
4260+
res 'value (cdr (lispy--bounds-dwim)))))
42584261
((or (fboundp 'eros--eval-overlay)
42594262
(require 'eros nil t))
42604263
(eros--eval-overlay

0 commit comments

Comments
 (0)