Skip to content

Commit

Permalink
Revise docstring of org-babel-execute:prolog
Browse files Browse the repository at this point in the history
Correctly reference the BODY and PARAMS parameters.  Move the
information about the function calling to a separate paragraph.
  • Loading branch information
lafrenierejm committed Mar 28, 2018
1 parent 44dd096 commit d1f1479
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 @@ -120,8 +120,9 @@ Example:
(buffer-string))))

(defun org-babel-execute:prolog (body params)
"Execute a block of Prolog code with org-babel. This function is
called by `org-babel-execute-src-block'"
"Execute the Prolog in BODY according to the block's header PARAMS.
This function is called by `org-babel-execute-src-block.'"
(message "executing Prolog source code block")
(let* ((result-params (cdr (assq :result-params params)))
(session (cdr (assq :session params)))
Expand Down

0 comments on commit d1f1479

Please sign in to comment.