Function: lisp-string-after-doc-keyword-p
lisp-string-after-doc-keyword-p is a byte-compiled function defined in
lisp-mode.el.gz.
Signature
(lisp-string-after-doc-keyword-p LISTBEG STARTPOS)
Documentation
Return non-nil if :documentation symbol ends at STARTPOS inside a list.
:doc can also be used.
LISTBEG is the position of the start of the innermost list containing STARTPOS.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/lisp-mode.el.gz
(defun lisp-string-after-doc-keyword-p (listbeg startpos)
"Return non-nil if `:documentation' symbol ends at STARTPOS inside a list.
`:doc' can also be used.
LISTBEG is the position of the start of the innermost list
containing STARTPOS."
(and listbeg ; We are inside a Lisp form.
(save-excursion
(goto-char startpos)
(ignore-errors
(progn (backward-sexp 1)
(looking-at ":documentation\\_>\\|:doc\\_>"))))))