1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 09:17:58 +01:00

Preserve file/line information with saved ex commands (:au, :com, :map -ex).

This commit is contained in:
Kris Maglione
2010-10-05 15:29:18 -04:00
parent 2ee74581d1
commit 7f574a512f
8 changed files with 126 additions and 119 deletions

View File

@@ -404,14 +404,10 @@ const CommandLine = Module("commandline", {
},
runSilently: function (func, self) {
let wasSilent = this._silent;
this._silent = true;
try {
this.withSavedValues(["_silent"], function () {
this._silent = true;
func.call(self);
}
finally {
this._silent = wasSilent;
}
});
},
hideCompletions: function () {