emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] bug: babel: Export of temporary buffers fails


From: Puneeth
Subject: [Orgmode] bug: babel: Export of temporary buffers fails
Date: Sat, 2 Oct 2010 22:00:19 +0530

Hello,

Export of temporary buffers with babel src blocks fails.

Line 118 of ob-exp.el has

(set-buffer (get-file-buffer org-current-export-file))

But the value of org-current-exp-file is nil for a temporary buffer.

The following commit brought in that change.

commit efdf78172d9f7c0070c781d136a9b49a2a56fcc4
Author: Eric Schulte <address@hidden>
Date:   Sat Sep 18 19:01:49 2010 -0600

    ob-exp: resolving code block parameters in the original file on export

    * lisp/ob-exp.el (org-babel-exp-src-blocks): now switching back to the
      original file before resolving code block parameters to ensure
      headline and buffer wide parameters are taken into consideration
      when only a narrowed portion of the file is exported


HTH,

Puneeth



reply via email to

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