Function: javascript-generic-mode

javascript-generic-mode is a and interactive for js-mode, defined in js.el.gz.

This command is obsolete since 24.3; use js-mode instead.

Signature

(javascript-generic-mode)

Documentation

Major mode for editing JavaScript.

In addition to any hooks its parent mode prog-mode might have run, this mode runs the hook js-mode-hook, as the final or penultimate step during initialization.

C-M-q prog-indent-sexp
C-M-x js-eval-defun
C-c C-j js-set-js-context
C-c M-: js-eval
M-. js-find-symbol

Probably introduced at or before Emacs version 20.3.

Key Bindings

Aliases

javascript-generic-mode (obsolete since 24.3) javascript-mode