浏览代码

babel: don't process emacs-lisp params twice

Dan Davison 15 年之前
父节点
当前提交
47571965d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/babel/lisp/langs/org-babel-emacs-lisp.el

+ 1 - 1
contrib/babel/lisp/langs/org-babel-emacs-lisp.el

@@ -41,7 +41,7 @@
   (save-window-excursion
     (let* ((processed-params (org-babel-process-params params))
            (result-params (third processed-params))
-           (vars (second (org-babel-process-params params)))
+           (vars (second processed-params))
            (print-level nil) (print-length nil))
       (eval `(let ,(mapcar (lambda (var) `(,(car var) ',(cdr var)))
                            vars)