]> code.delx.au - gnu-emacs-elpa/commitdiff
Better docstrings
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 9 Jul 2014 16:45:34 +0000 (19:45 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 11 Jul 2014 05:37:08 +0000 (08:37 +0300)
js2-mode.el

index 649d5585f4e4d3c4a643b0761e4a353061ca90f0..6e719d51804cbd887f497c9b992f5dc2b552d6b9 100644 (file)
@@ -5162,8 +5162,8 @@ Returns nil and consumes nothing if TEST is not the next character."
     (js2-unget-char)))
 
 (defun js2-identifier-start-p (c)
-  "Is C a valid start to an ES5 Identifier
-   http://es5.github.io/#x7.6"
+  "Is C a valid start to an ES5 Identifier?
+See http://es5.github.io/#x7.6"
   (or
    (memq c '(?$ ?_))
    (memq (get-char-code-property c 'general-category)
@@ -5171,8 +5171,8 @@ Returns nil and consumes nothing if TEST is not the next character."
          '(Lu Ll Lt Lm Lo Nl))))
 
 (defun js2-identifier-part-p (c)
-  "Is C a valid part of an ES5 Identifier
-   http://es5.github.io/#x7.6"
+  "Is C a valid part of an ES5 Identifier?
+See http://es5.github.io/#x7.6"
   (or
    (memq c '(?$ ?_ ?\u200c  ?\u200d))
    (memq (get-char-code-property c 'general-category)