From d38b0cbcc1ac7c08d5159af503802eecf22a209d Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Mon, 30 Oct 2023 10:34:08 +0800 Subject: [PATCH] fix: new interface for cider--display-interactive-eval-result function changed at https://github.com/clojure-emacs/cider/pull/3524 which included in cider version v1.9.0 --- lispy.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lispy.el b/lispy.el index 0c5c9720..e2ea746d 100644 --- a/lispy.el +++ b/lispy.el @@ -4253,8 +4253,11 @@ When at an outline, eval the outline." (lispy-message res)) ((or (fboundp 'cider--display-interactive-eval-result) (require 'cider nil t)) - (cider--display-interactive-eval-result - res (cdr (lispy--bounds-dwim)))) + (if (version< cider-version "1.9.0") + (cider--display-interactive-eval-result + res (cdr (lispy--bounds-dwim))) + (cider--display-interactive-eval-result + res 'value (cdr (lispy--bounds-dwim))))) ((or (fboundp 'eros--eval-overlay) (require 'eros nil t)) (eros--eval-overlay