Skip to content

Commit

Permalink
fixes the value of org-babel-prolog-command
Browse files Browse the repository at this point in the history
The prolog-program-name hasn't got any function value. Its variable
value is an alist keyed by prolog-system, so the function
prolog-find-value-by-system can be used to get the value.
  • Loading branch information
mifigiel authored and ljos committed Apr 10, 2019
1 parent 85ada8f commit 149abd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ob-prolog.el
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

(add-to-list 'org-babel-tangle-lang-exts '("prolog" . "pl"))

(defvar org-babel-prolog-command (prolog-program-name)
(defvar org-babel-prolog-command (prolog-find-value-by-system prolog-program-name)
"Name of the prolog executable command.")

(defconst org-babel-header-args:prolog
Expand Down

0 comments on commit 149abd3

Please sign in to comment.