1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-28 10:56:57 +00:00

org-babel-eval command instead of shell-command

* lisp/ob-sql.el (org-babel-execute:sql): Use the org-babel-eval command
  instead of shell-command.
This commit is contained in:
Eric Schulte 2013-02-09 14:18:24 -07:00
parent e2b17ccc52
commit cb3e647734

View File

@ -135,7 +135,7 @@ This function is called by `org-babel-execute-src-block'."
(t "")) (t ""))
(org-babel-expand-body:sql body params))) (org-babel-expand-body:sql body params)))
(message command) (message command)
(shell-command command) (org-babel-eval command "")
(org-babel-result-cond result-params (org-babel-result-cond result-params
(with-temp-buffer (with-temp-buffer
(progn (insert-file-contents-literally out-file) (buffer-string))) (progn (insert-file-contents-literally out-file) (buffer-string)))