Function: texinfo-format-defmethod
texinfo-format-defmethod is a byte-compiled function defined in
texinfmt.el.gz.
Signature
(texinfo-format-defmethod PARSED-ARGS)
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/texinfmt.el.gz
(defun texinfo-format-defmethod (parsed-args)
;; Specialized object oriented entity:
;; @defmethod class name args...
;; In Info, `Method on class: name ARGS'
;; Note: args in upper case; use of `on'
;; Use cdr of texinfo-defun-type to determine category:
(let ((category (car (cdr texinfo-defun-type)))
(class (car parsed-args))
(name (car (cdr parsed-args)))
(args (cdr (cdr parsed-args))))
(insert " -- " category " on " class ": " name)
(while args
(insert " " (upcase (car args)))
(setq args (cdr args)))))