From e8d72b293fa67662c0f7fd58c4837c161ed529db Mon Sep 17 00:00:00 2001 From: Aaron Ecay Date: Fri, 16 Jan 2015 17:40:24 -0500 Subject: [PATCH 1/3] babel: Remove functions which are never called. * lisp/ob-awk.el (org-babel-awk-table-or-string): * lisp/ob-shell.el (org-babel-sh-table-or-results): Remove. --- lisp/ob-awk.el | 5 ----- lisp/ob-shell.el | 6 ------ 2 files changed, 11 deletions(-) diff --git a/lisp/ob-awk.el b/lisp/ob-awk.el index 6c0fb86..a96ba1a 100644 --- a/lisp/ob-awk.el +++ b/lisp/ob-awk.el @@ -105,11 +105,6 @@ called by `org-babel-execute-src-block'" (mapconcat echo-var var "\n")) (t (funcall echo-var var))))) -(defun org-babel-awk-table-or-string (results) - "If the results look like a table, then convert them into an -Emacs-lisp table, otherwise return the results as a string." - (org-babel-script-escape results)) - (provide 'ob-awk) diff --git a/lisp/ob-shell.el b/lisp/ob-shell.el index aa14a69..4d6d7c4 100644 --- a/lisp/ob-shell.el +++ b/lisp/ob-shell.el @@ -164,12 +164,6 @@ var of the same value." (mapconcat echo-var var "\n")) (t (funcall echo-var var))))) -(defun org-babel-sh-table-or-results (results) - "Convert RESULTS to an appropriate elisp value. -If the results look like a table, then convert them into an -Emacs-lisp table, otherwise return the results as a string." - (org-babel-script-escape results)) - (defun org-babel-sh-initiate-session (&optional session params) "Initiate a session named SESSION according to PARAMS." (when (and session (not (string= session "none"))) -- 2.2.2