:autocmd LocationChange .* js modes.passAllKeys = /(www|mail)\.google\.com/.test(buffer.URL)
-- Set the filetype to mail when editing email at Gmail: -
+Set the filetype to mail when editing email at Gmail:
-:autocmd LocationChange .* :set editor=gvim -f
-:autocmd LocationChange 'mail\.google\.com' :set editor=gvim -f -c 'set ft=mail'
+:autocmd LocationChange !'mail\.google\.com' :set editor=gvim -f
+:autocmd LocationChange 'mail\.google\.com' :set editor=gvim -f -c 'set ft=mail'
diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml
index 5cddc7c7..9ba44d68 100644
--- a/common/locale/en-US/options.xml
+++ b/common/locale/en-US/options.xml
@@ -320,7 +320,7 @@
A list of items which, when opened in a new tab, are
@@ -556,7 +556,11 @@
Defines specialized XPath expressions for arbitrary
@@ -891,7 +895,7 @@
A regular expression list that defines which plugins are loaded at
@@ -1000,7 +1004,7 @@
Patterns to use when guessing the next page in a document
@@ -1393,7 +1397,7 @@
Regular expression list defining which completion groups show only
diff --git a/common/modules/util.jsm b/common/modules/util.jsm
index 3d4ecf10..311932f0 100644
--- a/common/modules/util.jsm
+++ b/common/modules/util.jsm
@@ -244,7 +244,7 @@ const Util = Module("Util", {
let stack = Error().stack.replace(/(?:.*\n){2}/, "");
if (frames != null)
[stack] = stack.match(RegExp("(?:.*\n){0," + frames + "}"));
- util.dump((msg || "Stack") + "\n" + stack + "\n");
+ util.dump((arguments.length == 0 ? "Stack" : msg) + "\n" + stack + "\n");
},
/**