Browse Source

babel: Fix org-babel-load-file

This was broken by 29a2ab0047b3a6f0669f1ab84877e166e00aefff
Dan Davison 11 years ago
parent
commit
aa0e4b86ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/babel/lisp/org-babel-tangle.el

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