From: Eli Zaretskii Date: Sat, 29 Jun 2024 12:22:38 +0000 (+0300) Subject: ; * lisp/thingatpt.el (sexp-at-point): Doc fix (bug#71777). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6cbd68cfc3c87463c0cda23ba62284fad47da0bf;p=emacs.git ; * lisp/thingatpt.el (sexp-at-point): Doc fix (bug#71777). (cherry picked from commit 31124abdefe0886f7bc245bca7b8334d459ad79a) --- diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index a593b6c6241..3cfd3905701 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -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 ()