Skip to content

Commit 0e7fa6b

Browse files
authored
Merge pull request #105 from bzalasky/issue-104
Inherit from js2-mode instead of js2-jsx-mode
2 parents 03dd8d1 + a643877 commit 0e7fa6b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![MELPA](https://melpa.org/packages/rjsx-mode-badge.svg)](https://melpa.org/#/rjsx-mode)
33
[![Build Status](https://travis-ci.org/felipeochoa/rjsx-mode.svg?branch=master)](https://travis-ci.org/felipeochoa/rjsx-mode)
44

5-
This mode derives from `js2-jsx-mode`, extending its parser to support JSX syntax
5+
This mode derives from `js2-mode`, extending its parser to support JSX syntax
66
according to the [official spec](https://facebook.github.io/jsx/). This
77
means you get all of the `js2` features plus proper syntax checking
88
and highlighting of JSX code blocks.
@@ -84,7 +84,7 @@ indentation mode by adding `(setq-local indent-line-function
8484

8585
Please submit any bugs or feature requests on the GitHub tracker. Since this
8686
mode is based on `js2`, it is possible that bugs you encounter with it stem from
87-
there. Please try reproducing bugs using `js2-jsx-mode` if relevant. If the bug
87+
there. Please try reproducing bugs using `js2-mode` if relevant. If the bug
8888
is in `js2`, please report it using `M-x report-emacs-bug`.
8989

9090
## License

rjsx-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ parsing supports the magic `rjsx-electric-lt' and
4949
:type 'integer)
5050

5151
;;;###autoload
52-
(define-derived-mode rjsx-mode js2-jsx-mode "RJSX"
52+
(define-derived-mode rjsx-mode js2-mode "RJSX"
5353
"Major mode for editing JSX files."
5454
:lighter ":RJSX"
5555
:group 'rjsx-mode

0 commit comments

Comments
 (0)