mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 08:32:53 +00:00
lisp/ob-ditaa.el: Fix checkdoc warnings
* lisp/ob-ditaa.el (org-babel-execute:ditaa): Mention all the arguments in the docstring. Start error message from capital letter.
This commit is contained in:
parent
f689eb44f1
commit
3780948905
|
@ -83,11 +83,11 @@ Do not leave leading or trailing spaces in this string."
|
||||||
:type 'string)
|
:type 'string)
|
||||||
|
|
||||||
(defun org-babel-execute:ditaa (body params)
|
(defun org-babel-execute:ditaa (body params)
|
||||||
"Execute a block of Ditaa code with org-babel.
|
"Execute BODY of Ditaa code with org-babel according to PARAMS.
|
||||||
This function is called by `org-babel-execute-src-block'."
|
This function is called by `org-babel-execute-src-block'."
|
||||||
(let* ((out-file (or (cdr (assq :file params))
|
(let* ((out-file (or (cdr (assq :file params))
|
||||||
(error
|
(error
|
||||||
"ditaa code block requires :file header argument")))
|
"Ditaa code block requires :file header argument")))
|
||||||
(cmdline (cdr (assq :cmdline params)))
|
(cmdline (cdr (assq :cmdline params)))
|
||||||
(java (cdr (assq :java params)))
|
(java (cdr (assq :java params)))
|
||||||
(in-file (org-babel-temp-file "ditaa-"))
|
(in-file (org-babel-temp-file "ditaa-"))
|
||||||
|
|
Loading…
Reference in a new issue