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

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

[nongnu] elpa/haskell-mode 0b89979176 04/24: Merge pull request #1761 fr


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-mode 0b89979176 04/24: Merge pull request #1761 from EuanParr/pr-fix-path-argument-in-compile
Date: Tue, 1 Nov 2022 22:58:51 -0400 (EDT)

branch: elpa/haskell-mode
commit 0b89979176ae14a016d6b164352ae3baf1459a7e
Merge: 3332050667 0faf9f1324
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #1761 from EuanParr/pr-fix-path-argument-in-compile
    
    Fix compilation command to handle whitespace in file path
---
 haskell-compile.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haskell-compile.el b/haskell-compile.el
index 4ef85f1e74..b19dfd0212 100644
--- a/haskell-compile.el
+++ b/haskell-compile.el
@@ -229,7 +229,7 @@ base directory for build tools, or the current buffer for
                     ((null edit) default)
                     ((eq edit '-) alt)
                     (t (compilation-read-command default))))
-         (command (format template local-dir-or-file))
+         (command (format template (shell-quote-argument local-dir-or-file)))
          (dir (if (directory-name-p local-dir-or-file)
                   local-dir-or-file
                 default-directory))



reply via email to

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