Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Shaun Johnson <shaun <at> slugfest.demon.co.uk>
Subject: [O] [PATCH] Make tangling work in an indirect buffer
Newsgroups: gmane.emacs.orgmode
Date: Wednesday 9th March 2011 16:57:23 UTC (over 5 years ago)
The attached patch makes tangling (org-babel-tangle) work
in indirect buffers. Previously it would fail before running
org-babel-post-tangle-hook because indirect have a buffer-file-name
of nil whereas the code was expecting a string in the following
fragment:

(message "tangled %d code block%s from %s" block-counter
                (if (= block-counter 1) "" "s")
	       (file-name-nondirectory (buffer-file-name (or (buffer-base-buffer)
(current-buffer)))))


I hope the patch is in the correct format.

Shaun.
 
CD: 4ms