1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 16:57:57 +01:00

Make :yank :extensions work as expected.

This commit is contained in:
Kris Maglione
2011-01-22 04:59:46 -05:00
parent f536b56ff3
commit 3f0901ee2a
4 changed files with 12 additions and 2 deletions

View File

@@ -1215,7 +1215,9 @@ var CommandLine = Module("commandline", {
function observe(str, highlight, dom) {
buffer.push(dom && !isString(str) ? util.domToString(dom) : str);
}
this.savingOutput = true;
dactyl.trapErrors.apply(dactyl, [fn, self].concat(Array.slice(arguments, 2)));
this.savingOutput = false;
return buffer.join("\n");
}
}, {