diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-08-14 23:02:38 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-08-14 23:02:38 +0000 |
commit | 17b5d0f7077498c2c3f90de802587e6af9939057 (patch) | |
tree | e39dc4663e9eb6b68bd3c90079b5e17bfd78ae3c /lisp/progmodes/hideshow.el | |
parent | b6377f1dc339aef13b2982fbc987c8b584911a38 (diff) | |
download | emacs-17b5d0f7077498c2c3f90de802587e6af9939057.tar.gz |
* 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.
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r-- | lisp/progmodes/hideshow.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index bf2792dada0..80bd91d4dd5 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el @@ -270,7 +270,8 @@ This has effect only if `search-invisible' is set to `open'." '((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). |