Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4464a33d
Commit
4464a33d
authored
Jul 30, 2011
by
Carsten Dominik
Browse files
Fix regexp for finding code blocks
parent
fe676f91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/org/ChangeLog
lisp/org/ChangeLog
+5
-0
lisp/org/ob.el
lisp/org/ob.el
+1
-1
No files found.
lisp/org/ChangeLog
View file @
4464a33d
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
...
...
lisp/org/ob.el
View file @
4464a33d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment