Browse Source

org-babel-tangle: Save buffer at outset.

Dan Davison 15 years ago
parent
commit
bf3281692f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/babel/lisp/org-babel-tangle.el

+ 1 - 0
contrib/babel/lisp/org-babel-tangle.el

@@ -72,6 +72,7 @@ TARGET-FILE can be used to specify a default export file for all
 source blocks.  Optional argument LANG can be used to limit the
 source blocks.  Optional argument LANG can be used to limit the
 exported source code blocks by language."
 exported source code blocks by language."
   (interactive)
   (interactive)
+  (save-buffer)
   (save-excursion
   (save-excursion
     (let ((block-counter 0)
     (let ((block-counter 0)
           path-collector)
           path-collector)