We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b0d13f commit d3c042fCopy full SHA for d3c042f
cider-eval.el
@@ -1310,6 +1310,12 @@ passing arguments."
1310
(form (format "(%s)" fn-name)))
1311
(cider-read-and-eval (cons form (length form)))))
1312
1313
+(defun cider-kill-last-result ()
1314
+ "Save the last evaluated result into the kill ring."
1315
+ (interactive)
1316
+ (kill-new
1317
+ (nrepl-dict-get (cider-nrepl-sync-request:eval "*1") "value")))
1318
+
1319
;; Eval keymaps
1320
(defvar cider-eval-pprint-commands-map
1321
(let ((map (define-prefix-command 'cider-eval-pprint-commands-map)))
0 commit comments