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-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~835 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=31124abdefe0886f7bc245bca7b8334d459ad79a;p=emacs.git ; * lisp/thingatpt.el (sexp-at-point): Doc fix (bug#71777). --- 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 ()