1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 14:10:28 -08:00
Commit graph

17 commits

Author SHA1 Message Date
Chong Yidong
bd78fa1d54 Add "Package:" file headers to denote built-in packages. 2010-08-29 12:17:13 -04:00
Nathan Weizenbaum
4142607e2f * progmodes/js.el: Make indentation more customizable (Bug#6914).
(js-paren-indent-offset, js-square-indent-offset)
(js-curly-indent-offset): New options.
(js--proper-indentation): Use them.
2010-08-26 16:09:31 -04:00
Tom Tromey
ae0c249465 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.
2010-07-27 18:37:25 +02:00
Glenn Morris
943375a636 Minor js.el fix.
* lisp/progmodes/js.el (js-mode-map): Use standard capitalization and
ellipses for menu entries.
2010-06-22 00:04:20 -07:00
Chong Yidong
f5d6ff44b7 Make paragraph vars local for js-mode (Bug#6071).
* progmodes/js.el (js-mode): Make paragraph variables local before
calling c-setup-paragraph-variables (Bug#6071).
2010-05-02 11:15:29 -04:00
Chong Yidong
2a793f7f35 Revert 2009-08-15 change, restoring electric punctuation (Bug#5586)
* progmodes/js.el (js-auto-indent-flag, js-mode-map)
(js-insert-and-indent): Revert 2009-08-15 change, restoring
electric punctuation for "{}();,:" (Bug#5586).
2010-03-28 16:41:37 -04:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Chong Yidong
92b1c41682 * progmodes/js.el: Autoload javascript-mode alias. 2010-01-11 11:18:06 -05:00
Chong Yidong
b857059c0a * progmodes/js.el (js--js-not): Add null to the list of values. 2009-12-06 15:34:59 +00:00
Juanma Barranquero
32226619c5 Use called-interactively-p' instead of interactive-p'. 2009-10-02 03:48:36 +00:00
Glenn Morris
07eae5c5e0 (js-end-of-defun): Remove malformed and unneeded let. 2009-09-18 07:16:49 +00:00
Chong Yidong
34cab3d9c1 * progmodes/js.el (js--proper-indentation): Handle the case where
char-before is null.  Reported by Deniz Dogan.
2009-09-12 00:01:00 +00:00
Juanma Barranquero
dd4fbf5672 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
Fix typos in docstrings.

* progmodes/js.el (js--macro-decl-re): Doc fix.
  (js--plain-method-re, js--split-name): Refloc docstring.
  (js--class-styles, js--make-merged-item, js--splice-into-items):
  Fix typos in docstrings; reflow docstrings.
  (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
  (js--variable-decl-matcher, js--inside-pitem-p)
  (js--parse-state-at-point, js--get-all-known-symbols)
  (js--symbol-history, js-find-symbol, js--js-references)
  (js--moz-interactor, js--js-encode-value, js--read-tab):
  Fix typos in docstrings.
2009-08-28 18:22:30 +00:00
Glenn Morris
3e1ea34239 (inferior-moz-process): Fix declaration. 2009-08-21 07:44:58 +00:00
Miles Bader
4989aff370 Add arch tagline 2009-08-15 01:13:18 +00:00
Chong Yidong
2e330adc6c * progmodes/js.el: Edit docstrings throughout to follow Emacs
conventions.
(js-insert-and-indent): Function deleted.
(js-mode-map): Don't bind keys to js-insert-and-indent.
(js-beginning-of-defun): Rename from js--beginning-of-defun.
(js-end-of-defun): Rename from js--end-of-defun.
(js-auto-indent-flag): Variable deleted.
2009-08-15 01:04:14 +00:00
Chong Yidong
17b5d0f707 * 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.
2009-08-14 23:02:38 +00:00