diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2011-07-29 16:04:36 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-07-29 16:04:36 -0600 |
commit | 274823c8587505dd568eee18dee6111c71f653d9 (patch) | |
tree | c8fb538916716aa8a3c6540ec8ca1698d5c0f7a4 | |
parent | 520bd1feac30dedfbb7532cd2b685adbfc00a801 (diff) | |
download | org-mode-274823c8587505dd568eee18dee6111c71f653d9.tar.gz |
if a code block has a body, its last character must be a newline
* lisp/ob.el (org-babel-src-block-regexp): If a code block has a body,
its last character must be a newline.
-rw-r--r-- | lisp/ob.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -138,7 +138,7 @@ remove code block execution from the C-c C-c keybinding." ;; (4) header arguments "\\([^\n]*\\)\n" ;; (5) body - "\\([^\000]*?\\)[ \t]*#\\+end_src") + "\\([^\000]*?\n\\)?[ \t]*#\\+end_src") "Regexp used to identify code blocks.") (eval-when-compile |