summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-10-02 23:19:40 -0400
committerKyle Meyer <kyle@kyleam.com>2015-10-02 23:19:57 -0400
commit36233d976d41b485ee5978ee2c7d5ac5ba1f7a5a (patch)
tree23c501e061f433633bff1050dd381c57c407ba22
parent609e1e28fb69f49ef4dcb646aa0cf56f7c18c332 (diff)
downloadorg-mode-36233d976d41b485ee5978ee2c7d5ac5ba1f7a5a.tar.gz
ob-tangle: Expand paths for publishing
* lisp/ob-tangle.el (org-babel-tangle-file): Return expanded file name. Reported-by: Arun Isaac <theroarofthedragon@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/101290>
-rw-r--r--lisp/ob-tangle.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
index f822e3f..1c3051f 100644
--- a/lisp/ob-tangle.el
+++ b/lisp/ob-tangle.el
@@ -179,7 +179,7 @@ Return a list whose CAR is the tangled file name."
(save-window-excursion
(find-file file)
(setq to-be-removed (current-buffer))
- (org-babel-tangle nil target-file lang))
+ (mapcar #'expand-file-name (org-babel-tangle nil target-file lang)))
(unless visited-p
(kill-buffer to-be-removed)))))