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

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

[nongnu] elpa/swift-mode 6553249 062/496: Rename predicate (add question


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 6553249 062/496: Rename predicate (add question mark)
Date: Sun, 29 Aug 2021 11:33:08 -0400 (EDT)

branch: elpa/swift-mode
commit 655324995e491efc7d1c06263a4527339d8ef149
Author: Chris Barrett <chris.d.barrett@me.com>
Commit: Chris Barrett <chris.d.barrett@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))))



reply via email to

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