Tightening up org-babel-lob-one-liner-regexp.

This commit is contained in:
Dan Davison 2009-07-10 23:15:16 -04:00
parent 44adc98505
commit af6af0b848
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ add files to this list use the `org-babel-lob-ingest' command."
;; functions for executing lob one-liners
(defvar org-babel-lob-one-liner-regexp "#\\+lob:[ \t]+\\(.+?\\)\(\\(.*\\)\)")
(defvar org-babel-lob-one-liner-regexp "#\\+lob:[ \t]+\\([^\(\)\n]+\\)\(\\([^\n]+\\)\)[ \t]*\n")
(defun org-babel-lob-execute-maybe ()
"Detect if this is context for a org-babel Library Of Babel