Mercurial > emacs
comparison lisp/progmodes/js.el @ 109561:d7a517f1b312
Derive programming modes from prog-mode.
* progmodes/js.el (js-mode):
* progmodes/make-mode.el (makefile-mode):
* progmodes/simula.el (simula-mode):
* progmodes/tcl.el (tcl-mode): Derive from prog-mode.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 27 Jul 2010 18:37:25 +0200 |
parents | 1df511d197fe |
children | f583ffa8d0d6 |
comparison
equal
deleted
inserted
replaced
109560:cd9d4b014838 | 109561:d7a517f1b312 |
---|---|
3266 (delete-file temp-name)))))) | 3266 (delete-file temp-name)))))) |
3267 | 3267 |
3268 ;;; Main Function | 3268 ;;; Main Function |
3269 | 3269 |
3270 ;;;###autoload | 3270 ;;;###autoload |
3271 (define-derived-mode js-mode nil "js" | 3271 (define-derived-mode js-mode prog-mode "js" |
3272 "Major mode for editing JavaScript. | 3272 "Major mode for editing JavaScript. |
3273 | 3273 |
3274 Key bindings: | 3274 Key bindings: |
3275 | 3275 |
3276 \\{js-mode-map}" | 3276 \\{js-mode-map}" |