Przeglądaj źródła

ob-lob: correctly indent results of non-inline call lines.

* lisp/ob-lob.el (org-babel-lob-get-info): Correctly indent results of
  non-inline call lines.
Eric Schulte 14 lat temu
rodzic
commit
4e0387a766
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      lisp/ob-lob.el

+ 2 - 1
lisp/ob-lob.el

@@ -115,7 +115,8 @@ if so then run the appropriate source block from the Library."
 			    (or (nonempty 7 16) "")
 			    (or (nonempty 8 19) ""))
 		    (nonempty 9 18)))
-	   (list (length (nonempty 1 11)))))))))
+	   (list (length (if (= (length (match-string 12)) 0)
+			     (match-string 2) (match-string 11))))))))))
   
 (defun org-babel-lob-execute (info)
   "Execute the lob call specified by INFO."