1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-24 07:20:29 +00:00

* lisp/ob-core.el (org-babel-examplify-region): Document all the arguments

This commit is contained in:
Ihor Radchenko 2023-09-02 12:53:08 +03:00
parent af9c063edf
commit 21654e9a44
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -2819,7 +2819,10 @@ specified as an an \"attachment:\" style link."
(if description (concat "[" description "]") "")))))
(defun org-babel-examplify-region (beg end &optional results-switches inline)
"Comment out region using the inline `==' or `: ' org example quote."
"Comment out region BEG..END using the inline `==' or `: ' org example quote.
When INLINE is non-nil, use the inline verbatim markup.
When INLINE is nil and RESULTS-SWITCHES is non-nil, RESULTS-SWITCHES is
used as a string to be appended to #+begin_example line."
(interactive "*r")
(let ((maybe-cap
(lambda (str)