branch: elpa/org-contrib commit fe962c7001e1df37111aecf356e6a35184fb2af0 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
* lisp/ob-mathomatic.el: Switch to lexical binding, address compiler warnings (org-babel-prep-session:mathomatic): Mark unused function arguments. --- lisp/ob-mathomatic.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob-mathomatic.el b/lisp/ob-mathomatic.el index 744563497c..04c1a4daeb 100644 --- a/lisp/ob-mathomatic.el +++ b/lisp/ob-mathomatic.el @@ -1,4 +1,4 @@ -;;; ob-mathomatic.el --- Org-babel functions for mathomatic evaluation +;;; ob-mathomatic.el --- Org-babel functions for mathomatic evaluation -*- lexical-binding: t; -*- ;; Copyright (C) 2009-2021 Free Software Foundation, Inc. @@ -114,7 +114,7 @@ called by `org-babel-execute-src-block'." (with-temp-file tmp-file (insert result)) (org-babel-import-elisp-from-file tmp-file)))))) -(defun org-babel-prep-session:mathomatic (session params) +(defun org-babel-prep-session:mathomatic (_session _params) (error "Mathomatic does not support sessions")) (defun org-babel-mathomatic-var-to-mathomatic (pair)