summaryrefslogtreecommitdiff
path: root/lisp/org/ob.el
diff options
context:
space:
mode:
authorBastien Guerry <bastien1@free.fr>2012-05-16 19:33:50 +0200
committerBastien Guerry <bastien1@free.fr>2012-05-16 19:33:50 +0200
commit8c8b834fa997dbfd1b87abc1368a4680d1833e15 (patch)
treec0b64251aad5d535486ec064213263b064419cee /lisp/org/ob.el
parent4f32cc6c579a7cad630732643088e89ed3868b53 (diff)
downloademacs-8c8b834fa997dbfd1b87abc1368a4680d1833e15.tar.gz
emacs-8c8b834fa997dbfd1b87abc1368a4680d1833e15.tar.bz2
emacs-8c8b834fa997dbfd1b87abc1368a4680d1833e15.zip
Merge Org 7.8.10 -- important bug fixes since Org 7.8.09.
Diffstat (limited to 'lisp/org/ob.el')
-rw-r--r--lisp/org/ob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/ob.el b/lisp/org/ob.el
index ac6de9f1bbf..f3b7d6814bd 100644
--- a/lisp/org/ob.el
+++ b/lisp/org/ob.el
@@ -1498,7 +1498,7 @@ buffer or nil if no such result exists."
(catch 'is-a-code-block
(when (re-search-forward
(concat org-babel-result-regexp
- "[ \t]" (regexp-quote name) "[ \t\n\f\v\r]+") nil t)
+ "[ \t]" (regexp-quote name) "[ \t]*[\n\f\v\r]") nil t)
(when (and (string= "name" (downcase (match-string 1)))
(or (beginning-of-line 1)
(looking-at org-babel-src-block-regexp)