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

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

[nongnu] elpa/swift-mode 3efd087008: Fix repl-executable for Swift 5.7


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 3efd087008: Fix repl-executable for Swift 5.7
Date: Sun, 14 May 2023 00:02:48 -0400 (EDT)

branch: elpa/swift-mode
commit 3efd087008fba52bd43008cbcbf513b3273ef030
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>

    Fix repl-executable for Swift 5.7
    
    Swift 5.5: `repl` is not mentioned in the manual but is ignored silently.
    Swift 5.6: `repl` is the default subcommand.
    Swift 5.7: `repl` is not default.
---
 swift-mode-repl.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode-repl.el b/swift-mode-repl.el
index 2f4fa7ebde..1ae7a77d3a 100644
--- a/swift-mode-repl.el
+++ b/swift-mode-repl.el
@@ -43,7 +43,7 @@
   :group 'swift)
 
 (defcustom swift-mode:repl-executable
-  (concat (when (executable-find "xcrun") "xcrun ") "swift")
+  (concat (when (executable-find "xcrun") "xcrun ") "swift repl")
   "Path to the Swift CLI.  The string is split by spaces, then unquoted."
   :tag "Swift Mode REPL Executable"
   :type '(choice string (list string))



reply via email to

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