change file modes once after tangling
commit5c6f4fd13086ade59d32f9ac50bebfeb754b15eb
authorEric Schulte <schulte.eric@gmail.com>
Mon, 10 Jun 2013 15:55:28 +0000 (10 09:55 -0600)
committerEric Schulte <schulte.eric@gmail.com>
Mon, 10 Jun 2013 15:56:43 +0000 (10 09:56 -0600)
tree14d52475dad7efe9aa8937a12dd212324c8e8cbf
parent8e9c10ada453c1964e9e52d2badb8181732ddbde
change file modes once after tangling

* lisp/ob-tangle.el (org-babel-tangle): Collect tangle modes, and only
  apply them to the file after all tangling has completed, including the
  post-tangle-hook.
lisp/ob-tangle.el