branch: externals/org commit af9c063edf8d476bf8a58dd8b2e4ba490bcbdced Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
* lisp/ob-core.el (org-babel-remove-result): Document function arguments --- lisp/ob-core.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 2f0ebb85ca..3b3cbbc749 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -2700,7 +2700,10 @@ INFO may provide the values of these header arguments (in the (set-marker visible-end nil))))))) (defun org-babel-remove-result (&optional info keep-keyword) - "Remove the result of the current source block." + "Remove the result of the current source block. +INFO argument is currently ignored. +When KEEP-KEYWORD is non-nil, keep the #+RESULT keyword and just remove +the rest of the result." (interactive) (let ((location (org-babel-where-is-src-block-result nil info)) (case-fold-search t))