From 92dc5af269bd37c3349075c624adb8d03823b43a Mon Sep 17 00:00:00 2001 From: Bjarte Johansen Date: Mon, 19 Dec 2016 15:23:49 +0100 Subject: [PATCH] Replace use of org-babel-get-header org-babel-get-header was removed in Org#0d000f5 (babel: small change in API, 2015-10-29) --- ob-prolog.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ob-prolog.el b/ob-prolog.el index 59d93b9..5b04af1 100644 --- a/ob-prolog.el +++ b/ob-prolog.el @@ -83,11 +83,9 @@ (defun org-babel-variable-assignments:prolog (params) (let ((strs (mapcar #'org-babel-prolog--variable-assignment - (mapcar #'cdr - (org-babel-get-header params :var))))) + (mapcar #'cdr (org-babel--get-vars params :var))))) (when strs - (list - (concat ":- " (mapconcat #'identity strs ", ") ".\n"))))) + (list (concat ":- " (mapconcat #'identity strs ", ") ".\n"))))) (defun org-babel-prolog--parse-goal (goal) "Evaluate inline emacs-lisp in prolog goal parameter.