diff options
author | Dan Davison <davison@stats.ox.ac.uk> | 2010-03-18 14:30:54 -0400 |
---|---|---|
committer | Dan Davison <davison@stats.ox.ac.uk> | 2010-03-18 14:30:54 -0400 |
commit | aa0e4b86ce2753909ef71081f8c437ad67af0fb1 (patch) | |
tree | 65fd73b5036b3ca737fa4cbd9025ec51d566376b | |
parent | b3ffb6a9b9fcdebbdca627e5b1a0b7f929c67c60 (diff) | |
download | org-mode-aa0e4b86ce2753909ef71081f8c437ad67af0fb1.tar.gz |
babel: Fix org-babel-load-file
This was broken by 29a2ab0047b3a6f0669f1ab84877e166e00aefff
-rw-r--r-- | contrib/babel/lisp/org-babel-tangle.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/babel/lisp/org-babel-tangle.el b/contrib/babel/lisp/org-babel-tangle.el index 9777764..64afef8 100644 --- a/contrib/babel/lisp/org-babel-tangle.el +++ b/contrib/babel/lisp/org-babel-tangle.el @@ -54,7 +54,7 @@ file using `load-file'." (exported-file (concat base-name ".el"))) ;; tangle if the org-mode file is newer than the elisp file (unless (and (file-exists-p exported-file) (> (age file) (age exported-file))) - (org-babel-tangle-file file base-name "emacs-lisp")) + (org-babel-tangle-file file exported-file "emacs-lisp")) (load-file exported-file) (message "loaded %s" exported-file)))) |