branch: elpa/swift-mode commit 250e8e401f6116f933e2bc670bdf5bd532f1c734 Merge: 0ad5865 b0fea47 Author: Bozhidar Batsov <bozhidar.bat...@gmail.com> Commit: Bozhidar Batsov <bozhidar.bat...@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"))