Let ob-C and ob-fortran work correctly on Windows/Cygwin
commit2dfa6aaf7944b44c0f4f9937c625818f1b7bec13
authorAchim Gratz <Stromeko@Stromeko.DE>
Wed, 25 Jul 2012 17:09:08 +0000 (25 19:09 +0200)
committerEric Schulte <eric.schulte@gmx.com>
Wed, 25 Jul 2012 18:02:01 +0000 (25 12:02 -0600)
tree4541b99c34e60b527d6a82641c52400e44369010
parent556f725e5b42bb52f461685a16d62c91ec809d71
Let ob-C and ob-fortran work correctly on Windows/Cygwin

* lisp/ob.el (org-babel-exeext): New defconst to hold extension for
  executables or nil if none.  Should be ".exe" for both Windows and
  Cygwin.

* lisp/ob-C.el (org-babel-C-execute): Use org-babel-exeext when
  constructing the target file name for the compiled executable.

* lisp/ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
  when constructing the target file name for the compiled executable.
lisp/ob-C.el
lisp/ob-fortran.el
lisp/ob.el