Mercurial > emacs
diff lisp/progmodes/hideshow.el @ 104272:ea67ac46d172
* progmodes/js2-mode.el: File removed.
* Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
* speedbar.el (speedbar-supported-extension-expressions): Add .js.
* progmodes/hideshow.el (hs-special-modes-alist): Add js-mode
entry.
* progmodes/js.el: New file.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 14 Aug 2009 23:02:38 +0000 |
parents | 0cec7dac5f50 |
children | 7669aca277d5 |
line wrap: on
line diff
--- a/lisp/progmodes/hideshow.el Fri Aug 14 18:18:39 2009 +0000 +++ b/lisp/progmodes/hideshow.el Fri Aug 14 23:02:38 2009 +0000 @@ -270,7 +270,8 @@ '((c-mode "{" "}" "/[*/]" nil nil) (c++-mode "{" "}" "/[*/]" nil nil) (bibtex-mode ("@\\S(*\\(\\s(\\)" 1)) - (java-mode "{" "}" "/[*/]" nil nil)) + (java-mode "{" "}" "/[*/]" nil nil) + (js-mode "{" "}" "/[*/]" nil)) "*Alist for initializing the hideshow variables for different modes. Each element has the form (MODE START END COMMENT-START FORWARD-SEXP-FUNC ADJUST-BEG-FUNC).