ob-sql: insert into a temporary buffer
* lisp/ob-sql.el (org-babel-execute:sql): Insert into a temporary buffer.
This commit is contained in:
parent
0da82db252
commit
92a01caa6d
|
@ -89,7 +89,8 @@ This function is called by `org-babel-execute-src-block'."
|
||||||
(member "html" result-params)
|
(member "html" result-params)
|
||||||
(member "code" result-params)
|
(member "code" result-params)
|
||||||
(equal (point-min) (point-max)))
|
(equal (point-min) (point-max)))
|
||||||
(progn (insert-file-contents-literally out-file) (buffer-string))
|
(with-temp-buffer
|
||||||
|
(progn (insert-file-contents-literally out-file) (buffer-string)))
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
;; need to figure out what the delimiter is for the header row
|
;; need to figure out what the delimiter is for the header row
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
|
|
Loading…
Reference in New Issue