Skip to content

Commit

Permalink
Make cider-last-sexp behave more like cider--region-for-defun...
Browse files Browse the repository at this point in the history
  • Loading branch information
Malabarba committed Feb 5, 2016
1 parent 5682631 commit f57abc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cider-util.el
Expand Up @@ -171,6 +171,8 @@ instead."
(clojure-backward-logical-sexp 1)
(list (point)
(progn (clojure-forward-logical-sexp 1)
(skip-chars-forward "[:blank:]")
(when (looking-at-p "\n") (forward-char 1))
(point))))))

(defun cider-start-of-next-sexp (&optional skip)
Expand Down

0 comments on commit f57abc7

Please sign in to comment.