[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c299c9b 2/3: ; * lisp/progmodes/js.el: Fix typo
From: |
Jackson Ray Hamilton |
Subject: |
master c299c9b 2/3: ; * lisp/progmodes/js.el: Fix typo |
Date: |
Sat, 7 Dec 2019 16:23:09 -0500 (EST) |
branch: master
commit c299c9b6fb578091da7878cdf41cd3618f7331d7
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
; * lisp/progmodes/js.el: Fix typo
---
lisp/progmodes/js.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 96583bf..2de7777 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -2011,7 +2011,7 @@ For use by `syntax-propertize-extend-region-functions'."
;; When applying syntax properties, since `js-syntax-propertize' uses
;; `syntax-propertize-rules' to parse JSXBoundaryElements iteratively
;; and statelessly, whenever we exit such an element, we need to
-;; determine the JSX depth. If >0, then we know we to apply syntax
+;; determine the JSX depth. If >0, then we know to apply syntax
;; properties to JSXText up until the next JSXBoundaryElement occurs.
;; But if the JSX depth is 0, then—importantly—we know to NOT parse
;; the following code as JSXText, rather propertize it as regular JS