Browse Source

org-babel: read results contained in generic org blocks

Dan Davison 15 years ago
parent
commit
f01fb927e1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/babel/lisp/org-babel.el

+ 1 - 0
contrib/babel/lisp/org-babel.el

@@ -506,6 +506,7 @@ line.  If no result exists for this block then create a
   (let ((case-fold-search t) result-string)
     (cond
      ((org-at-table-p) (org-babel-read-table))
+     ((looking-at org-block-regexp) (org-babel-trim (match-string 4)))
      ((looking-at ": ")
       (setq result-string
 	    (org-babel-trim