summaryrefslogtreecommitdiff
path: root/lisp/progmodes/hideshow.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-08-14 23:02:38 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-08-14 23:02:38 +0000
commit17b5d0f7077498c2c3f90de802587e6af9939057 (patch)
treee39dc4663e9eb6b68bd3c90079b5e17bfd78ae3c /lisp/progmodes/hideshow.el
parentb6377f1dc339aef13b2982fbc987c8b584911a38 (diff)
downloademacs-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.el3
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).