fix(fortran): account for spaces in filenames
This commit is contained in:
parent
488ad07cc5
commit
6bf725837d
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ or gfortran, depending on what feature flags are set."
|
||||||
(defun +fortran/ifort-compile ()
|
(defun +fortran/ifort-compile ()
|
||||||
"Compile the current buffer using ifort."
|
"Compile the current buffer using ifort."
|
||||||
(interactive)
|
(interactive)
|
||||||
(compile (format "ifort %s"
|
(compile (format "ifort %S"
|
||||||
(buffer-file-name))))
|
(buffer-file-name))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
@ -63,7 +63,7 @@ or gfortran, depending on what feature flags are set."
|
||||||
(defun +fortran/gfortran-compile ()
|
(defun +fortran/gfortran-compile ()
|
||||||
"Compile the current buffer using gfortran."
|
"Compile the current buffer using gfortran."
|
||||||
(interactive)
|
(interactive)
|
||||||
(compile (format "gfortran %s %s"
|
(compile (format "gfortran %s %S"
|
||||||
(+fortran--std)
|
(+fortran--std)
|
||||||
buffer-file-name)))
|
buffer-file-name)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue