projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44f269d
)
; * lisp/thingatpt.el (sexp-at-point): Doc fix (bug#71777).
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 29 Jun 2024 12:22:38 +0000
(15:22 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 29 Jun 2024 12:22:38 +0000
(15:22 +0300)
lisp/thingatpt.el
patch
|
blob
|
history
diff --git
a/lisp/thingatpt.el
b/lisp/thingatpt.el
index a593b6c62419c2d2eed25aa153bd11b0a24d9081..3cfd390570169b66a896d24f7b5ff8a69fc917ef 100644
(file)
--- 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 ()