[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-mode b2427232ab 02/24: Fix compilation command to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-mode b2427232ab 02/24: Fix compilation command to handle whitespace in file path |
Date: |
Tue, 1 Nov 2022 22:58:51 -0400 (EDT) |
branch: elpa/haskell-mode
commit b2427232ab0b9ea0f6e02db273027618bbf23899
Author: User1 <53079444+EuanParr@users.noreply.github.com>
Commit: User1 <53079444+EuanParr@users.noreply.github.com>
Fix compilation command to handle whitespace in file path
Enclose the selected file's path in quotes to ensure it is parsed as one
argument.
---
haskell-compile.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/haskell-compile.el b/haskell-compile.el
index 4ef85f1e74..8b19662f4b 100644
--- a/haskell-compile.el
+++ b/haskell-compile.el
@@ -69,7 +69,7 @@ For legacy compat, `%s' is replaced by the stack package top
folder."
:type 'string)
(defcustom haskell-compile-command
- "ghc -Wall -ferror-spans -fforce-recomp -c %s"
+ "ghc -Wall -ferror-spans -fforce-recomp -c \"%s\""
"Default build command to use for `haskell-cabal-build' when no cabal or
stack file is detected.
The `%s' placeholder is replaced by the current buffer's filename."
:group 'haskell-compile
- [nongnu] elpa/haskell-mode 705d04d9fb 01/24: Make {-# and #-} not be paragraph boundaries, (continued)
- [nongnu] elpa/haskell-mode 705d04d9fb 01/24: Make {-# and #-} not be paragraph boundaries, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 1bde244f11 08/24: Remove autoloads from face and group definitions, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 0b89979176 04/24: Merge pull request #1761 from EuanParr/pr-fix-path-argument-in-compile, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 15c5eb0aca 13/24: Merge pull request #1775 from vaerksted/master, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode f13b6db78b 07/24: Merge pull request #1771 from amesgen/add-capi, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 952af0ed21 12/24: typos, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode fe3a8046aa 20/24: Merge pull request #1778 from cydparser/ghc-9.2.2-support, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 8d9b271e9c 15/24: Fix minor typo, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode d0e8ca71d2 19/24: Add GHC 9.2.2 extensions and options, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 8402caa341 05/24: Remove inconsistent docstring, point users at the source of truth, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode b2427232ab 02/24: Fix compilation command to handle whitespace in file path,
ELPA Syncer <=
- [nongnu] elpa/haskell-mode a8f23d8fa1 06/24: Add `capi` calling convention, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 5750f74d89 09/24: Merge pull request #1773 from minad/reduce-autoloads, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode b1505b727b 10/24: Merge pull request #1645 from juliapath/pragmas-are-no-paragraphs, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 9186f45d52 11/24: Add interactive command to insert a LANGUAGE pragma, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 19922b81ed 14/24: Fix code based on suggestions, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode cb573c8db5 16/24: Merge pull request #1774 from TikhonJelvis/add-language-pragma-command, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode f53827f074 17/24: Add Emacs 28.1 to CI matrix, update install-nix-action, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 4ec2aa32b1 18/24: Fix emacs version in CI, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 5a9f8072c7 21/24: Reformat docstring to satisfy Emacs 28.1 byte compiler, ELPA Syncer, 2022/11/01
- [nongnu] elpa/haskell-mode 4010de30ec 22/24: The emacs upstream will raise an error now when `otherwise` or `t`, ELPA Syncer, 2022/11/01