; * lisp/thingatpt.el (sexp-at-point): Doc fix (bug#71777).

This commit is contained in:
Eli Zaretskii 2024-06-29 15:22:38 +03:00
parent 44f269d6e6
commit 31124abdef

View file

@ -778,7 +778,10 @@ Signal an error if the entire string was not used."
;;;###autoload
(defun sexp-at-point ()
"Return the sexp at point, or nil if none is found."
"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))
;;;###autoload
(defun symbol-at-point ()