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

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

[nongnu] elpa/swift-mode e81ab53 381/496: Fix comments


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode e81ab53 381/496: Fix comments
Date: Sun, 29 Aug 2021 11:34:11 -0400 (EDT)

branch: elpa/swift-mode
commit e81ab53dd1405121ab208330e5091e6c3604f504
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>

    Fix comments
---
 swift-mode-beginning-of-defun.el | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/swift-mode-beginning-of-defun.el b/swift-mode-beginning-of-defun.el
index daaf643..77619c6 100644
--- a/swift-mode-beginning-of-defun.el
+++ b/swift-mode-beginning-of-defun.el
@@ -539,7 +539,7 @@ or the region is active, mark the following (if the point 
is before the mark)
 or preceding (if the point is after the mark) block.  If that statement has
 lesser nesting level, mark the whole outer statement.
 
-MOVE-FORWARDS is a function moving the cursor to the next end of block.
+MOVE-FORWARD is a function moving the cursor to the next end of block.
 MOVE-BACKWARD is a function moving the cursor to the previous beginning of
 block.
 Both functions return t if succeeded, return nil otherwise."
@@ -590,7 +590,7 @@ Both functions return t if succeeded, return nil otherwise."
 (defun swift-mode:following-generic-block-region (move-forward move-backward)
   "Return cons representing a region of following generic block.
 
-MOVE-FORWARDS is a function moving the cursor to the next end of block.
+MOVE-FORWARD is a function moving the cursor to the next end of block.
 MOVE-BACKWARD is a function moving the cursor to the previous beginning of
 block.
 Both functions return t if succeeded, return nil otherwise."
@@ -602,7 +602,7 @@ Both functions return t if succeeded, return nil otherwise."
 (defun swift-mode:preceding-generic-block-region (move-forward move-backward)
   "Return cons representing a region of preceding generic block.
 
-MOVE-FORWARDS is a function moving the cursor to the next end of block.
+MOVE-FORWARD is a function moving the cursor to the next end of block.
 MOVE-BACKWARD is a function moving the cursor to the previous beginning of
 block.
 Both functions return t if succeeded, return nil otherwise."
@@ -614,7 +614,7 @@ Both functions return t if succeeded, return nil otherwise."
 (defun swift-mode:containing-generic-block-region (move-forward move-backward)
   "Return cons representing a region of containing generic block.
 
-MOVE-FORWARDS is a function moving the cursor to the next end of block.
+MOVE-FORWARD is a function moving the cursor to the next end of block.
 MOVE-BACKWARD is a function moving the cursor to the previous beginning of
 block.
 Both functions return t if succeeded, return nil otherwise."
@@ -667,7 +667,12 @@ If the point is between blocks, narrow depend on
 `swift-mode:mark-defun-preference'.
 
 Preceding comments are included if INCLUDE-COMMENTS is non-nil.
-Interactively, the behavior depends on ‘narrow-to-defun-include-comments’."
+Interactively, the behavior depends on ‘narrow-to-defun-include-comments’.
+
+MOVE-FORWARD is a function moving the cursor to the next end of block.
+MOVE-BACKWARD is a function moving the cursor to the previous beginning of
+block.
+Both functions return t if succeeded, return nil otherwise."
   (let ((restriction (cons (point-min) (point-max)))
         region
         extended)



reply via email to

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