Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
104271:73a2da4c1a39 | 104272:ea67ac46d172 |
---|---|
268 ;;;###autoload | 268 ;;;###autoload |
269 (defvar hs-special-modes-alist | 269 (defvar hs-special-modes-alist |
270 '((c-mode "{" "}" "/[*/]" nil nil) | 270 '((c-mode "{" "}" "/[*/]" nil nil) |
271 (c++-mode "{" "}" "/[*/]" nil nil) | 271 (c++-mode "{" "}" "/[*/]" nil nil) |
272 (bibtex-mode ("@\\S(*\\(\\s(\\)" 1)) | 272 (bibtex-mode ("@\\S(*\\(\\s(\\)" 1)) |
273 (java-mode "{" "}" "/[*/]" nil nil)) | 273 (java-mode "{" "}" "/[*/]" nil nil) |
274 (js-mode "{" "}" "/[*/]" nil)) | |
274 "*Alist for initializing the hideshow variables for different modes. | 275 "*Alist for initializing the hideshow variables for different modes. |
275 Each element has the form | 276 Each element has the form |
276 (MODE START END COMMENT-START FORWARD-SEXP-FUNC ADJUST-BEG-FUNC). | 277 (MODE START END COMMENT-START FORWARD-SEXP-FUNC ADJUST-BEG-FUNC). |
277 | 278 |
278 If non-nil, hideshow will use these values as regexps to define blocks | 279 If non-nil, hideshow will use these values as regexps to define blocks |