1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00

javascript-generic-mode: Added C style block comment as used in ECMA-262

This commit is contained in:
Steven Tamm 2002-12-10 16:57:48 +00:00
parent 810e89c769
commit 3ce073568e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-12-10 Steven Tamm <steventamm@mac.com>
* generic-x.el (javascript-generic-mode): Added C style block
comments as used in ECMA-262 standard.
2002-12-10 Kenichi Handa <handa@m17n.org>
* language/european.el ("Swedish"): Change tutorial file name to

View File

@ -533,7 +533,7 @@ you must reload generic-x to enable the specified modes."
;; Javascript mode
;; Includes extra keywords from Armando Singer [asinger@MAIL.COLGATE.EDU]
(define-generic-mode 'javascript-generic-mode
(list "//")
(list "//" '("/*" . "*/"))
(list
"break"
"case"