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

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

[nongnu] elpa/swift-mode 250e8e4 172/496: Merge pull request #67 from jm


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 250e8e4 172/496: Merge pull request #67 from jmibanez/fix-flycheck-and-byte-compilation-bug
Date: Sun, 29 Aug 2021 11:33:30 -0400 (EDT)

branch: elpa/swift-mode
commit 250e8e401f6116f933e2bc670bdf5bd532f1c734
Merge: 0ad5865 b0fea47
Author: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>

    Merge pull request #67 from jmibanez/fix-flycheck-and-byte-compilation-bug
    
    Fix eval-after-load problems when swift-mode is byte-compiled
---
 swift-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/swift-mode.el b/swift-mode.el
index b94ef2b..b58bb25 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -481,8 +481,8 @@
 ;;; Flycheck
 
 (eval-after-load 'flycheck
-  '(progn
-     (flycheck-def-option-var flycheck-swift-sdk-path nil swift
+  (lambda ()
+    (flycheck-def-option-var flycheck-swift-sdk-path nil swift
        "A path to the targeted SDK"
        :type '(choice (const :tag "Don't link against sdk" nil)
                       (string :tag "Targeted SDK path"))



reply via email to

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