aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackson Ray Hamilton2019-12-07 12:27:51 -0800
committerJackson Ray Hamilton2019-12-07 13:18:00 -0800
commitc299c9b6fb578091da7878cdf41cd3618f7331d7 (patch)
treebb2766aac13bbf671cd16e5c115f49fdcff1fcec
parent3d21ba374f137dbeb63cf03bb014b4e412685f50 (diff)
downloademacs-c299c9b6fb578091da7878cdf41cd3618f7331d7.tar.gz
emacs-c299c9b6fb578091da7878cdf41cd3618f7331d7.zip
; * lisp/progmodes/js.el: Fix typo
-rw-r--r--lisp/progmodes/js.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 96583bf9386..2de7777af5f 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -2011,7 +2011,7 @@ For use by `syntax-propertize-extend-region-functions'."
2011;; When applying syntax properties, since `js-syntax-propertize' uses 2011;; When applying syntax properties, since `js-syntax-propertize' uses
2012;; `syntax-propertize-rules' to parse JSXBoundaryElements iteratively 2012;; `syntax-propertize-rules' to parse JSXBoundaryElements iteratively
2013;; and statelessly, whenever we exit such an element, we need to 2013;; and statelessly, whenever we exit such an element, we need to
2014;; determine the JSX depth. If >0, then we know we to apply syntax 2014;; determine the JSX depth. If >0, then we know to apply syntax
2015;; properties to JSXText up until the next JSXBoundaryElement occurs. 2015;; properties to JSXText up until the next JSXBoundaryElement occurs.
2016;; But if the JSX depth is 0, then—importantly—we know to NOT parse 2016;; But if the JSX depth is 0, then—importantly—we know to NOT parse
2017;; the following code as JSXText, rather propertize it as regular JS 2017;; the following code as JSXText, rather propertize it as regular JS