branch: externals/js2-mode
commit 6cc0a8a87a9178e44c51203e1fe34c57f246a7de
Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>

    Merge paragraphs so the information reads better
---
 js2-mode.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 6e2c30e..56e2ee2 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -51,14 +51,14 @@
 
 ;;   (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
 
-;; Alternatively, to install it as a minor mode just for JavaScript linting,
-;; you must add it to the appropriate major-mode hook.  Normally this would be:
+;; Alternatively, you can install it as a minor mode just for JavaScript 
linting
+;; and/or to use packages that integrate with it.  (Also, in Emacs 27, the new
+;; JSX features added in that release are only accessible within this minor
+;; mode.  Linting of JSX code is also likely to fail.)  To install it as a 
minor
+;; mode:
 
 ;;   (add-hook 'js-mode-hook 'js2-minor-mode)
 
-;; If you use Emacs 27 and desire JSX support added in that release,
-;; use `js-mode' as your major mode with `js2-minor-mode' enabled.
-
 ;; You may also want to hook it in for shell scripts running via node.js:
 
 ;;   (add-to-list 'interpreter-mode-alist '("node" . js2-mode))

Reply via email to