emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/rec-mode 98b98ad 81/98: Quote the file name argument be


From: Stefan Monnier
Subject: [elpa] externals/rec-mode 98b98ad 81/98: Quote the file name argument before to pass it to recfix in a shell.
Date: Thu, 12 Nov 2020 13:18:45 -0500 (EST)

branch: externals/rec-mode
commit 98b98ad8d83f32f665e3a089bcd9182e1b571467
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Commit: Antoine Kalmbach <ane@iki.fi>

    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

[Prev in Thread] Current Thread [Next in Thread]