1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix regexp for finding code blocks

This commit is contained in:
Carsten Dominik 2011-07-30 18:29:20 +02:00
parent fe676f9114
commit 4464a33d9c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-07-30 Carsten Dominik <carsten.dominik@gmail.com>
* ob.el (org-babel-src-block-regexp): If a code block has a body,
its last character must be a newline.
2011-07-28 Bastien Guerry <bzg@gnu.org>
* org-publish.el (org-publish-index-generate-theindex): rename

View file

@ -137,7 +137,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.")
(defvar org-babel-inline-src-block-regexp