Function: cl--defmethod-doc-pos

cl--defmethod-doc-pos is a byte-compiled function defined in cl-generic.el.gz.

Signature

(cl--defmethod-doc-pos)

Documentation

Return the index of the docstring for a cl-defmethod.

Presumes point is at the end of the cl-defmethod symbol.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-generic.el.gz
(defun cl--defmethod-doc-pos ()
  "Return the index of the docstring for a `cl-defmethod'.
Presumes point is at the end of the `cl-defmethod' symbol."
  (save-excursion
    (let ((n 2))
      (while (and (ignore-errors (forward-sexp 1) t)
                  (not (eq (char-before) ?\))))
        (incf n))
      n)))