Function: cider-last-sexp
cider-last-sexp is a byte-compiled function defined in cider-util.el.
Signature
(cider-last-sexp &optional BOUNDS)
Documentation
Return the sexp preceding the point.
If BOUNDS is non-nil, return a list of its starting and ending position instead.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-util.el
(defun cider-last-sexp (&optional bounds)
"Return the sexp preceding the point.
If BOUNDS is non-nil, return a list of its starting and ending position
instead."
(apply (if bounds #'list #'buffer-substring-no-properties)
(save-excursion
(clojure-backward-logical-sexp 1)
(list (point)
(progn (clojure-forward-logical-sexp 1)
(point))))))