forked from mirrors/org-mode
org-babel-insert-header-arg: Describe arguments in the docstring
* lisp/ob-core.el (org-babel-insert-header-arg): Fix the docstring, describing when the arguments do.
This commit is contained in:
parent
34ee6f1a21
commit
b89bc55867
|
@ -1001,7 +1001,10 @@ arguments and pop open the results in a preview buffer."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun org-babel-insert-header-arg (&optional header-arg value)
|
(defun org-babel-insert-header-arg (&optional header-arg value)
|
||||||
"Insert a header argument selecting from lists of common args and values."
|
"Insert a header argument and its value.
|
||||||
|
HEADER-ARG and VALUE, when provided, are the header argument name and
|
||||||
|
its value. When HEADER-ARG or VALUE are nil, offer interactive
|
||||||
|
completion from lists of common args and values."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let* ((info (org-babel-get-src-block-info 'no-eval))
|
(let* ((info (org-babel-get-src-block-info 'no-eval))
|
||||||
(lang (car info))
|
(lang (car info))
|
||||||
|
|
Loading…
Reference in New Issue