summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2016-05-06 13:38:18 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2016-05-06 13:38:33 -0300
commit2207619121c8d8616cd262774ec276dca04c449a (patch)
tree95929c0f96ff00951d4cbb5de2ebb9c4c27a8df2
parentec30c3d3708ce5a4726f461085de03fc598652da (diff)
Use cider-sexp-at-point in cider-eval-sexp-at-point
-rw-r--r--cider-interaction.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-interaction.el b/cider-interaction.el
index f899babd..2b210807 100644
--- a/cider-interaction.el
+++ b/cider-interaction.el
@@ -1092,7 +1092,7 @@ If invoked with a PREFIX argument, print the result in the current buffer."
If invoked with a PREFIX argument, print the result in the current buffer."
(interactive "P")
(save-excursion
- (up-list)
+ (goto-char (cadr (cider-sexp-at-point 'bounds)))
(cider-eval-last-sexp prefix)))
(defun cider-eval-defun-to-comment (loc)