[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH 02/10] Clean up org-babel-expand-body: functions for awk and
From: |
Aaron Ecay |
Subject: |
[O] [PATCH 02/10] Clean up org-babel-expand-body: functions for awk and picolisp |
Date: |
Mon, 1 Apr 2013 01:42:16 -0400 |
* lisp/ob-awk.el (org-babel-expand-body:awk),
lisp/ob-picolisp.el (org-babel-expand-body:picolisp): remove optional
arg from these functions
The optional argument is apparently never passed by org-babel code.
Maybe this is a relic of an earlier calling convention?
---
lisp/ob-awk.el | 2 +-
lisp/ob-picolisp.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/ob-awk.el b/lisp/ob-awk.el
index f717fec..373d5fd 100644
--- a/lisp/ob-awk.el
+++ b/lisp/ob-awk.el
@@ -44,7 +44,7 @@
(defvar org-babel-awk-command "awk"
"Name of the awk executable command.")
-(defun org-babel-expand-body:awk (body params &optional processed-params)
+(defun org-babel-expand-body:awk (body params)
"Expand BODY according to PARAMS, return the expanded body."
(dolist (pair (mapcar #'cdr (org-babel-get-header params :var)))
(setf body (replace-regexp-in-string
diff --git a/lisp/ob-picolisp.el b/lisp/ob-picolisp.el
index e785366..1d17919 100644
--- a/lisp/ob-picolisp.el
+++ b/lisp/ob-picolisp.el
@@ -78,7 +78,7 @@
:version "24.1"
:type 'string)
-(defun org-babel-expand-body:picolisp (body params &optional processed-params)
+(defun org-babel-expand-body:picolisp (body params)
"Expand BODY according to PARAMS, return the expanded body."
(let ((vars (mapcar #'cdr (org-babel-get-header params :var)))
(result-params (cdr (assoc :result-params params)))
--
1.8.2
- Re: [O] [PATCH 04/10] Add 'light argument to some uses of org-babel-get-src-block-info, (continued)
[O] [PATCH 03/10] Clean up various org-babel-*-maybe commands, Aaron Ecay, 2013/04/01
[O] [PATCH 02/10] Clean up org-babel-expand-body: functions for awk and picolisp,
Aaron Ecay <=
[O] [PATCH 07/10] Simplify org-babel-execute-src-block, Aaron Ecay, 2013/04/01
[O] [PATCH 05/10] Remove info arg from several org-babel functions, Aaron Ecay, 2013/04/01
[O] [PATCH 08/10] Fix testing/lisp/test-ob-emacs-lisp.el, Aaron Ecay, 2013/04/01