emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Fix commit 9ff7f80f51a15c4a3dd2b654f0b08e9e290f5375


From: Leo
Subject: [O] Fix commit 9ff7f80f51a15c4a3dd2b654f0b08e9e290f5375
Date: Tue, 02 Aug 2011 01:22:35 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8)

I am running org mode from trunk. I am getting this error:

,----
| org-babel-pop-to-session-maybe: Symbol's value as variable is void:
| org-babel-inline-src-block-regexp
`----

for M-up/down.

The error was introduced in
http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=9ff7f80f51a15c4a3dd2b654f0b08e9e290f5375

Please apply this patch to fix the bug:

--- a/ob.el
+++ b/ob.el
@@ -141,7 +141,7 @@
    "\\([^\000]*?\n\\)?[ \t]*#\\+end_src")
   "Regexp used to identify code blocks.")
 
-(eval-when-compile
+(eval-and-compile
   (defvar org-babel-inline-src-block-regexp
     (concat
      ;; (1) replacement target (2) lang

Diff finished.  Tue Aug  2 01:18:06 2011


Leo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]