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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user