1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-25 09:20:59 -08:00

; * lisp/progmodes/js.el: Fix typo

This commit is contained in:
Jackson Ray Hamilton 2019-12-07 12:27:51 -08:00
parent 3d21ba374f
commit c299c9b6fb
No known key found for this signature in database
GPG key ID: B4771664B476B290

View file

@ -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