branch: externals/org commit 168b99ba942a8a392c168d13dc53a037fa817d49 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
org-babel-join-splits-near-ch: Fix the docstring * lisp/ob-core.el (org-babel-join-splits-near-ch): Explain all the arguments and what the function does. --- lisp/ob-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 2b43d669ca..889eccc33e 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -1696,7 +1696,8 @@ balanced instances of \"[ \t]:\", set ALTS to ((32 9) . 58)." (nreverse result)))) (defun org-babel-join-splits-near-ch (ch list) - "Join splits where \"=\" is on either end of the split." + "Join strings in LIST where CH is on either end of the strings. +This function will join list elements like \"a=\" \"2\" into \"a=2\"." (let ((last= (lambda (str) (= ch (aref str (1- (length str)))))) (first= (lambda (str) (= ch (aref str 0))))) (reverse