org-table.el (orgtbl-apply-fmt): Enhance docstring

* org-table.el (orgtbl-apply-fmt): Enhance docstring.
This commit is contained in:
Bastien Guerry 2013-04-07 09:36:52 +02:00
parent ef8e4b57ed
commit 0625b53a07

View file

@ -4612,7 +4612,8 @@ First element has index 0, or I0 if given."
fmt)) fmt))
(defsubst orgtbl-apply-fmt (fmt &rest args) (defsubst orgtbl-apply-fmt (fmt &rest args)
"Apply format FMT to the arguments. NIL FMTs return the first argument." "Apply format FMT to arguments ARGS.
When FMT is nil, return the first argument from ARGS."
(cond ((functionp fmt) (apply fmt args)) (cond ((functionp fmt) (apply fmt args))
(fmt (apply 'format fmt args)) (fmt (apply 'format fmt args))
(args (car args)) (args (car args))