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-external-process
Move the second sentence of the docstring to its own paragraph.
Correct a typo in and modify the grammar of the second sentence.
  • Loading branch information
lafrenierejm committed Mar 28, 2018
commit 260566be8354bf44d717bea2dab34da57a87182b
7 changes: 4 additions & 3 deletions ob-prolog.el
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,10 @@ This function is called by `org-babel-execute-src-block.'"
(org-babel-prolog-initiate-session session)))

(defun org-babel-prolog-evaluate-external-process (goal body)
"Evaluates the GOAL given the BODY in a external Prolog
process. If no GOAL is given the GOAL is replaced with HALT,
resulting in running just the body through the Prolog process."
"Evaluate the GOAL given the BODY in an external Prolog process.

If no GOAL is given, the GOAL is replaced with HALT. This resulsts in
running just the body through the Prolog process."
(let* ((tmp-file (org-babel-temp-file "prolog-"))
(command (format "%s -q -l %s -t \"%s\""
org-babel-prolog-command
Expand Down