Commit Graph

8 Commits

Author SHA1 Message Date
Tooru Fujisawa
a72d2d4ea2 Bug 1108382 - Part 3: Do not use non-standard flag argument of String.prototype.replace in browser/metro/. r=mbrubeck 2015-03-01 09:51:33 +09:00
Nicholas Nethercote
fc9811215d Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Rodrigo Silveira
474276dc37 Bug 956741 - Load first run on start page for the first 3 tabs r=mbrubeck 2014-01-09 14:02:47 -08:00
Marina Samuel
9b6ec6cbb8 Bug 920236 - Add a pref to display a page on first run after install/upgrade r=mbrubeck 2013-12-13 13:42:02 -08:00
Marina Samuel
2ff7f6acc1 Bug 948983: Make about:newtab the start page with about:home and about:start as aliases and save all as about:newtab in sessionstore. r=mbrubeck 2013-12-12 15:55:31 -05:00
Marina Samuel
1c61e81d97 Bug 883951: Part 4: Remove DownloadsView and Related Code. r=mbrubeck 2013-07-17 18:19:27 -04:00
Jim Mathies
8bc324049b Bug 750903 - Land browser/metro/* r=mbrubeck 2013-02-12 14:51:25 -06:00