Browse Source

ob-emacs-lisp: respects ":results verbatim"

* lisp/ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respects ":results verbatim".
Eric Schulte 9 years ago
parent
commit
3f3fc513b7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/ob-emacs-lisp.el

+ 2 - 1
lisp/ob-emacs-lisp.el

@@ -57,7 +57,8 @@
   "Execute a block of emacs-lisp code with Babel."
   (save-window-excursion
     ((lambda (result)
-       (if (member "scalar" (cdr (assoc :result-params params)))
+       (if (or (member "scalar" (cdr (assoc :result-params params)))
+	       (member "verbatim" (cdr (assoc :result-params params))))
 	   (let ((print-level nil)
 		 (print-length nil))
 	     (format "%S" result))