Browse Source

fixed bug in tangle-file

* lisp/ob-tangle.el (org-babel-tangle): Fixed bug in tangle-file.
Eric Schulte 7 years ago
parent
commit
1a8ad7dab1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-tangle.el

+ 1 - 1
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