diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-05-06 13:38:18 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-05-06 13:38:33 -0300 |
commit | 2207619121c8d8616cd262774ec276dca04c449a (patch) | |
tree | 95929c0f96ff00951d4cbb5de2ebb9c4c27a8df2 | |
parent | ec30c3d3708ce5a4726f461085de03fc598652da (diff) |
Use cider-sexp-at-point in cider-eval-sexp-at-point
-rw-r--r-- | cider-interaction.el | 2 |
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) |