Skip to content

Commit

Permalink
Revise docstring of org-babel-prolog-evaluate-session
Browse files Browse the repository at this point in the history
Move the second sentence to its own paragraph.  Change the structure
of the second sentence to clarify its meaning.
  • Loading branch information
lafrenierejm committed Mar 28, 2018
1 parent 260566b commit 9855c41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ob-prolog.el
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ running just the body through the Prolog process."
(org-babel-eval command "")))

(defun org-babel-prolog-evaluate-session (session goal body)
"Evaluates the GOAL in the BODY of the prolog block in the
given SESSION. If there is no SESSION it creates it."
"In SESSION, evaluate GOAL given the BODY of the Prolog block.
Create SESSION if it does not already exist."
(let* ((session (org-babel-prolog-initiate-session session))
(body (split-string (org-babel-trim body) "\n")))
(org-babel-trim
Expand Down

0 comments on commit 9855c41

Please sign in to comment.