Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up documentation #16

Merged
merged 13 commits into from
Mar 28, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revise docstring of org-babel-prolog-evaluate-session
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
commit 9855c418db37154232f41920bfa08c100a6f2a99
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