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:
parent
fe676f9114
commit
4464a33d9c
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue