branch: master
commit f85abddd4e6981c5ed802680e8a4550b5d6ce0ae
Author: Masafumi Oyamada (mooz) <[email protected]>
Commit: Masafumi Oyamada (mooz) <[email protected]>
Fix docstring to conform to the Elisp guideline
---
js2-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js2-mode.el b/js2-mode.el
index 48e2005..0a40fff 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -7573,7 +7573,7 @@ string is NAME. Returns nil and keeps current token
otherwise."
nil))
(defun js2-contextual-kwd-p (token name &optional no-record-face)
- "Return t if `token' is `js2-NAME', and its string is NAME."
+ "Return t if TOKEN is `js2-NAME', and its string is NAME."
(and (= (js2-token-type token) js2-NAME)
(string= (js2-token-string token) name)
(prog1 t (or no-record-face