Function: texinfo-format-deffn
texinfo-format-deffn is a byte-compiled function defined in
texinfmt.el.gz.
Signature
(texinfo-format-deffn PARSED-ARGS)
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/texinfmt.el.gz
(defun texinfo-format-deffn (parsed-args)
;; Generalized function-like, variable-like, or generic data-type entity:
;; @deffn category name args...
;; In Info, `Category: name ARGS'
;; @deftp category name attributes...
;; `category name attributes...' Note: @deftp args in lower case.
(let ((category (car parsed-args))
(name (car (cdr parsed-args)))
(args (cdr (cdr parsed-args))))
(insert " -- " category ": " name)
(while args
(insert " "
(if (or (= ?& (aref (car args) 0))
(eq (car texinfo-defun-type) 'deftp-type))
(car args)
(upcase (car args))))
(setq args (cdr args)))))