Prechádzať zdrojové kódy

ob-sqlite.el: Inhibit Lisp evaluation when reading the result

* lisp/ob-sqlite.el (org-babel-sqlite-table-or-scalar): Inhibit
Lisp evaluation when reading the result.

Reported-by: rrandresf@gmail.com
Bastien 4 rokov pred
rodič
commit
15e2d83313
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lisp/ob-sqlite.el

+ 1 - 1
lisp/ob-sqlite.el

@@ -133,7 +133,7 @@ This function is called by `org-babel-execute-src-block'."
   "If RESULT looks like a trivial table, then unwrap it."
   (if (and (equal 1 (length result))
 	   (equal 1 (length (car result))))
-      (org-babel-read (caar result))
+      (org-babel-read (caar result) t)
     (mapcar (lambda (row)
 	      (if (eq 'hline row)
 		  'hline