Skip to content

Commit

Permalink
Add docstring to org-babel-variable-assignments:prolog
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrenierejm committed Mar 28, 2018
1 parent da9d8be commit d5467fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ob-prolog.el
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ recorda/2."
(org-babel-prolog--elisp-to-pl (cdr pair))))

(defun org-babel-variable-assignments:prolog (params)
"Return the babel variable assignments in PARAMS.
PARAMS is a quasi-alist of header args, which may contain
multiple entries for the key `:var'. This function returns a
list of the cdr of all the `:var' entries."
(let (vars)
(dolist (param params vars)
(when (eq (car param) :var)
Expand Down

0 comments on commit d5467fc

Please sign in to comment.