emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Fix commit 9ff7f80f51a15c4a3dd2b654f0b08e9e290f5375
Date: Tue, 02 Aug 2011 01:22:35 +0800	[thread overview]
Message-ID: <m162mhxd0k.fsf@gmail.com> (raw)

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	other threads:[~2011-08-01 17:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01 17:22 Leo [this message]
2011-08-01 17:59 ` Fix commit 9ff7f80f51a15c4a3dd2b654f0b08e9e290f5375 Achim Gratz
2011-08-02  2:36   ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m162mhxd0k.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).