branch: externals/rec-mode
commit 98b98ad8d83f32f665e3a089bcd9182e1b571467
Author: Jose E. Marchesi <[email protected]>
Commit: Antoine Kalmbach <[email protected]>

    Quote the file name argument before to pass it to recfix in a shell.
    
    * rec-mode.el (rec-cmd-compile): Quote the file name argument
    before to pass it to recfix in a shell.
---
 etc/rec-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/rec-mode.el b/etc/rec-mode.el
index f0d4804..b808353 100644
--- a/etc/rec-mode.el
+++ b/etc/rec-mode.el
@@ -1968,7 +1968,7 @@ This command is especially useful with enumerated types."
         (setq cmd (concat cmd (shell-quote-argument buffer-file-name)))
       (with-temp-file tmpfile
         (insert-buffer-substring cur-buf))
-      (setq cmd (concat cmd tmpfile)))
+      (setq cmd (concat cmd (shell-quote-argument tmpfile))))
     (compilation-start cmd)))
 
 (defun rec-cmd-show-info ()

Reply via email to