branch: elpa/swift-mode commit 655324995e491efc7d1c06263a4527339d8ef149 Author: Chris Barrett <chris.d.barr...@me.com> Commit: Chris Barrett <chris.d.barr...@me.com>
Rename predicate (add question mark) --- swift-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swift-mode.el b/swift-mode.el index 6b39a9d..f9ff226 100644 --- a/swift-mode.el +++ b/swift-mode.el @@ -52,7 +52,7 @@ "Return the paren level at point." (nth 0 (syntax-ppss))) -(defun swift-indent--in-str-or-cmnt () +(defun swift-indent--in-str-or-cmnt? () "Non-nil if point is in a string or comment." (nth 8 (syntax-ppss))) @@ -74,7 +74,7 @@ (skip-chars-backward "[:space:]\n") (when (looking-back "\\*/") (backward-char)) - (when (swift-indent--in-str-or-cmnt) + (when (swift-indent--in-str-or-cmnt?) (swift-indent--rewind-past-str-cmnt)) (when (/= starting (point)) (swift-indent--rewind-irrelevant))))