summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2013-06-11 07:09:23 -0600
committerEric Schulte <schulte.eric@gmail.com>2013-06-11 11:59:43 -0600
commit1a8ad7dab13891a5f0e72656b637ebc30edbe2c0 (patch)
treef7b88e6dba7306e2650a4d6f36b09de32cf19bca
parentef98a614f6d7afc81f81d31f4546c575e052cc5b (diff)
downloadorg-mode-1a8ad7dab13891a5f0e72656b637ebc30edbe2c0.tar.gz
fixed bug in tangle-file
* lisp/ob-tangle.el (org-babel-tangle): Fixed bug in tangle-file.
-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 921be70..8141943 100644
--- a/lisp/ob-tangle.el
+++ b/lisp/ob-tangle.el
@@ -228,7 +228,7 @@ used to limit the exported source code blocks by language."
(make-directory (file-name-directory file-name) 'parents))
;; delete any old versions of file
(when (and (file-exists-p file-name)
- (not (member file-name path-collector)))
+ (not (member file-name (mapcar #'car path-collector))))
(delete-file file-name))
;; drop source-block to file
(with-temp-buffer