[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))))
- [nongnu] elpa/swift-mode 9676f90 485/496: Update CI versions, (continued)
- [nongnu] elpa/swift-mode 9676f90 485/496: Update CI versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode e9e493e 487/496: Set `comment-line-break-function`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode fd3c824 484/496: Bump version to 8.2.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 23b9227 492/496: Support async/await, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 6546ad5 040/496: Fix auto-mode-alist regex, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 760710c 031/496: fixup! Update readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode bf224ad 049/496: Organize links, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode e46584a 054/496: Add @bbatsov to contributors in readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 5adb37d 070/496: More indentation tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 34be010 074/496: Update features in readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 6553249 062/496: Rename predicate (add question mark),
ELPA Syncer <=
- [nongnu] elpa/swift-mode ff32221 068/496: Add font lock tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 5f97c99 060/496: Add tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c3a0a66 065/496: Fix custom variable types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a17f9e8 066/496: Rename predicate functions ('?' -> -p), ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8dc7eb9 078/496: Clean up after pull request, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 98b627a 075/496: Add @ap4y to contributors, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 812b4f6 084/496: Remove redundant hook definition, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8fc94c7 097/496: Merge pull request #25 from ap4y/smie_indentation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 889586c 102/496: Merge pull request #28 from ap4y/highlight_interpolation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0fcf3ab 115/496: Restructure test for multi-line hash in method call to test against case, ELPA Syncer, 2021/08/29