]> code.delx.au - gnu-emacs-elpa/commitdiff
* js2-mode: same for Returns -> Return
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 26 Dec 2012 03:35:11 +0000 (07:35 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 26 Dec 2012 03:35:11 +0000 (07:35 +0400)
packages/js2-mode/js2-mode.el

index b35f76d1068c016f24b27cdcea6638eba85f5e4c..702b32c935b9fff5cc73995b8deb737ef60357d2 100644 (file)
@@ -6693,7 +6693,7 @@ that it's an external variable, which must also be in the top-level scope."
      (t t))))
 
 (defun js2-wrapper-function-p (node)
-  "Returns t if NODE is a function expression that's immediately invoked.
+  "Return t if NODE is a function expression that's immediately invoked.
 NODE must be `js2-function-node'."
   (let ((parent (js2-node-parent node)))
     (or
@@ -6952,7 +6952,7 @@ The flags, if any, are saved in `js2-current-flagged-token'."
       tt)))  ; return unflagged token
 
 (defun js2-peek-flagged-token ()
-  "Returns the current token along with any flags set for it."
+  "Return the current token along with any flags set for it."
   (js2-peek-token)
   js2-current-flagged-token)
 
@@ -9681,7 +9681,7 @@ indented to the same column as the current line."
                    (= (current-indentation) saved-indent))))))))
 
 (defun js2-multiline-decl-indentation ()
-  "Returns the declaration indentation column if the current line belongs
+  "Return the declaration indentation column if the current line belongs
 to a multiline declaration statement.  See `js2-pretty-multiline-declarations'."
   (let (forward-sexp-function ; use Lisp version
         at-opening-bracket)