aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-10-26 16:58:34 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-10-26 16:58:34 +0100
commitecab5c317dc22abe762e356a6bf666ea0b1fc455 (patch)
tree0b0424a2804506127f6b80c200fc4d0e9373f4e3
parent9297b2d48b02075409e651a46f09e877a3ab369a (diff)
downloadob-stan-ecab5c317dc22abe762e356a6bf666ea0b1fc455.tar.gz
Switch some Babel-related libraries to lexical binding
* lisp/ob-sed.el: * lisp/ob-shen.el: (org-babel-execute:shen): * lisp/ob-sql.el: (org-babel-prep-session:sql): * lisp/ob-sqlite.el: (org-babel-execute:sqlite): (org-babel-prep-session:sqlite): * lisp/ob-stan.el: (org-babel-prep-session:stan): * lisp/ob-table.el: Switch some libraries to lexical binding.
-rw-r--r--ob-stan.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/ob-stan.el b/ob-stan.el
index 7891600..9e734e9 100644
--- a/ob-stan.el
+++ b/ob-stan.el
@@ -1,4 +1,4 @@
-;;; ob-stan.el --- org-babel functions for Stan
+;;; ob-stan.el --- Babel Functions for Stan -*- lexical-binding: t; -*-
;; Copyright (C) 2015 Free Software Foundation, Inc.
@@ -76,7 +76,7 @@ Otherwise, write the Stan code directly to the named file."
(call-process-shell-command (concat "make " file))))
nil)) ; Signal that output has been written to file.
-(defun org-babel-prep-session:stan (session params)
+(defun org-babel-prep-session:stan (_session _params)
"Return an error because Stan does not support sessions."
(user-error "Stan does not support sessions"))