Skip to content

Commit e81ab53

Browse files
committed
Fix comments
1 parent 1970f1d commit e81ab53

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

swift-mode-beginning-of-defun.el

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ or the region is active, mark the following (if the point is before the mark)
539539
or preceding (if the point is after the mark) block. If that statement has
540540
lesser nesting level, mark the whole outer statement.
541541
542-
MOVE-FORWARDS is a function moving the cursor to the next end of block.
542+
MOVE-FORWARD is a function moving the cursor to the next end of block.
543543
MOVE-BACKWARD is a function moving the cursor to the previous beginning of
544544
block.
545545
Both functions return t if succeeded, return nil otherwise."
@@ -590,7 +590,7 @@ Both functions return t if succeeded, return nil otherwise."
590590
(defun swift-mode:following-generic-block-region (move-forward move-backward)
591591
"Return cons representing a region of following generic block.
592592
593-
MOVE-FORWARDS is a function moving the cursor to the next end of block.
593+
MOVE-FORWARD is a function moving the cursor to the next end of block.
594594
MOVE-BACKWARD is a function moving the cursor to the previous beginning of
595595
block.
596596
Both functions return t if succeeded, return nil otherwise."
@@ -602,7 +602,7 @@ Both functions return t if succeeded, return nil otherwise."
602602
(defun swift-mode:preceding-generic-block-region (move-forward move-backward)
603603
"Return cons representing a region of preceding generic block.
604604
605-
MOVE-FORWARDS is a function moving the cursor to the next end of block.
605+
MOVE-FORWARD is a function moving the cursor to the next end of block.
606606
MOVE-BACKWARD is a function moving the cursor to the previous beginning of
607607
block.
608608
Both functions return t if succeeded, return nil otherwise."
@@ -614,7 +614,7 @@ Both functions return t if succeeded, return nil otherwise."
614614
(defun swift-mode:containing-generic-block-region (move-forward move-backward)
615615
"Return cons representing a region of containing generic block.
616616
617-
MOVE-FORWARDS is a function moving the cursor to the next end of block.
617+
MOVE-FORWARD is a function moving the cursor to the next end of block.
618618
MOVE-BACKWARD is a function moving the cursor to the previous beginning of
619619
block.
620620
Both functions return t if succeeded, return nil otherwise."
@@ -667,7 +667,12 @@ If the point is between blocks, narrow depend on
667667
`swift-mode:mark-defun-preference'.
668668
669669
Preceding comments are included if INCLUDE-COMMENTS is non-nil.
670-
Interactively, the behavior depends on ‘narrow-to-defun-include-comments’."
670+
Interactively, the behavior depends on ‘narrow-to-defun-include-comments’.
671+
672+
MOVE-FORWARD is a function moving the cursor to the next end of block.
673+
MOVE-BACKWARD is a function moving the cursor to the previous beginning of
674+
block.
675+
Both functions return t if succeeded, return nil otherwise."
671676
(let ((restriction (cons (point-min) (point-max)))
672677
region
673678
extended)

0 commit comments

Comments
 (0)