branch: elpa/swift-mode
commit 52045f0ef0336b75328914e59a7532b75b3644e4
Author: ap4y <l...@pisem.net>
Commit: ap4y <l...@pisem.net>

    Fix issues with several failing tests on emacs 24.4
---
 swift-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/swift-mode.el b/swift-mode.el
index b58bb25..3fd39d0 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -281,14 +281,14 @@
     (`(:before . ".")
      (if (or (looking-at "[.][\n]")
              (smie-rule-bolp))
-         (smie-rule-parent swift-indent-multiline-statement-offset)))
+         swift-indent-multiline-statement-offset))
 
     ;; Apply swift-indent-multiline-statement-offset if
     ;; operator is the last symbol on the line
     (`(:before . "OP")
      (if (and (looking-at ".[\n]")
               (not (smie-rule-sibling-p)))
-         (smie-rule-parent swift-indent-multiline-statement-offset)))
+         swift-indent-multiline-statement-offset))
 
     ;; Indent second line of the multi-line class
     ;; definitions with swift-indent-offset

Reply via email to