branch: elpa/swift-mode
commit 34f0c958733fe5b8543cf89e6824fd6381ed503b
Author: ap4y <l...@pisem.net>
Commit: ap4y <l...@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