emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batc


From: KDr2
Subject: [O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode
Date: Wed, 2 Apr 2014 11:48:11 +0800

The bug:
write file ~/scheme-test.org with the content below:
-------8<--------------
#+BEGIN_SRC scheme :exports results :results output raw
  (display "Hello Scheme in OrgMode")
#+END_SRC
-------8<--------------

and run:

emacs --batch --eval='(load "~/.emacs.d/init.el")' ~/scheme-test.org -f org-html-export-to-html

you will find the bug:

`org-babel-scheme-execute-with-geiser' uses `current-message' to get the results of scheme code blocks, but `current-message' always returns nil in batch mode, and this patch fixes this.

--
-- 

KDr2, http://kdr2.com

Attachment: 0001-ob-scheme.el-Fix-scheme-code-blocks-execution-error-.patch
Description: Text Data


reply via email to

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