summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean O'Halpin <sean.ohalpin@gmail.com>2011-03-25 22:16:54 +0000
committerEric Schulte <schulte.eric@gmail.com>2011-05-14 08:11:07 -0600
commit12faa693301f4fa250d3f55244feb1a5279c688e (patch)
tree141540255d1d70ecf8e4810ab454af1ff230ae72
parent3dfcaf013acf2f9a208daf5ccd02d15bc6651873 (diff)
downloadorg-mode-12faa693301f4fa250d3f55244feb1a5279c688e.tar.gz
* lisp/ob.el: Avoid spurious matches to literal
"#+end_src" inside a source block. Added newline to org-babel-src-block-regexp.
-rw-r--r--lisp/ob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index 60a2dd2..9af9404 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -141,7 +141,7 @@ remove code block execution from the C-c C-c keybinding."
;; (4) header arguments
"\\([^\n]*\\)\n"
;; (5) body
- "\\([^\000]*?\n*\\)[ \t]*#\\+end_src")
+ "\\([^\000]*?\n*\\)\n[ \t]*#\\+end_src")
"Regexp used to identify code blocks.")
(defvar org-babel-inline-src-block-regexp