diff options
author | Michael Griffiths <mikey@cich.li> | 2015-04-22 22:29:16 +0100 |
---|---|---|
committer | Michael Griffiths <mikey@cich.li> | 2015-04-22 22:29:16 +0100 |
commit | e8b1330f1733f7539db3d5b41d0f1d95fdd99eb4 (patch) | |
tree | 61438fdb755650a0bf5ecbf35c088d64115d4595 | |
parent | f78f4cdf54b0e399c58d0ae4a5bda6344137be63 (diff) |
Remove an unused variable
-rw-r--r-- | cider-interaction.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cider-interaction.el b/cider-interaction.el index ccb4b438..df6ba30b 100644 --- a/cider-interaction.el +++ b/cider-interaction.el @@ -1661,8 +1661,7 @@ If invoked with a PREFIX argument, print the result in the current buffer." (defun cider-eval-last-sexp-and-replace () "Evaluate the expression preceding point and replace it with its result." (interactive) - (let ((last-sexp (cider-last-sexp)) - (start-pos (cider-last-sexp-start-pos))) + (let ((last-sexp (cider-last-sexp))) ;; we have to be sure the evaluation won't result in an error (nrepl-sync-request:eval last-sexp) ;; seems like the sexp is valid, so we can safely kill it |