mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-02 21:52:04 -08:00
(sexp-at-point, symbol-at-point)
(number-at-point, list-at-point): Add autoload cookie.
This commit is contained in:
parent
faeeab8475
commit
be64abcf66
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue