Function: sexp-at-point

sexp-at-point is an autoloaded and byte-compiled function defined in thingatpt.el.gz.

Signature

(sexp-at-point)

Documentation

Return the sexp at point, or nil if none is found.

This is for returning the Lisp object represented by text at point; use (thing-at-point 'sexp) instead if you rather want the balanced expression at point regardless of Lisp syntax.

Source Code

;; Defined in /usr/src/emacs/lisp/thingatpt.el.gz
;;;###autoload
(defun sexp-at-point ()
  "Return the sexp at point, or nil if none is found.
This is for returning the Lisp object represented by text at point;
use (thing-at-point \\='sexp) instead if you rather want the balanced
expression at point regardless of Lisp syntax."
  (form-at-point 'sexp))