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

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

[nongnu] elpa/swift-mode 34f0c95 152/496: Correct source argument extrac


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 34f0c95 152/496: Correct source argument extraction in flycheck checker
Date: Sun, 29 Aug 2021 11:33:26 -0400 (EDT)

branch: elpa/swift-mode
commit 34f0c958733fe5b8543cf89e6824fd6381ed503b
Author: ap4y <lod@pisem.net>
Commit: ap4y <lod@pisem.net>

    Correct source argument extraction in flycheck checker
---
 swift-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode.el b/swift-mode.el
index 1036f3e..20e2c42 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -501,7 +501,7 @@
                  ;; We also don't want a hidden emacs interlock files.
                  (eval
                   (let (source file)
-                    (setq source (flycheck-substitute-argument 'source 'swift))
+                    (setq source (car (flycheck-substitute-argument 'source 
'swift)))
                     (setq file (file-name-nondirectory source))
                     (cl-remove-if-not
                      #'(lambda (path)



reply via email to

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