summaryrefslogtreecommitdiff
path: root/lisp/thingatpt.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-02-02 14:51:22 +0000
committerDave Love <fx@gnu.org>2000-02-02 14:51:22 +0000
commitbe64abcf66a59f892b077ef50becde97d57f32ea (patch)
tree303b76fd8f1404527dc4353c91165ce30f65b9d8 /lisp/thingatpt.el
parentfaeeab84750abf88accf8c7e8cb05a67f6d41a89 (diff)
downloademacs-be64abcf66a59f892b077ef50becde97d57f32ea.tar.gz
(sexp-at-point, symbol-at-point)
(number-at-point, list-at-point): Add autoload cookie.
Diffstat (limited to 'lisp/thingatpt.el')
-rw-r--r--lisp/thingatpt.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el
index 6da92490653..214f6dcfde1 100644
--- a/lisp/thingatpt.el
+++ b/lisp/thingatpt.el
@@ -384,9 +384,13 @@ Signal an error if the entire string was not used."
(error nil))))
(if (or (not pred) (funcall pred sexp)) sexp)))
+;;;###autoload
(defun sexp-at-point () (form-at-point 'sexp))
+;;;###autoload
(defun symbol-at-point () (form-at-point 'sexp 'symbolp))
+;;;###autoload
(defun number-at-point () (form-at-point 'sexp 'numberp))
+;;;###autoload
(defun list-at-point () (form-at-point 'list 'listp))
;; thingatpt.el ends here.