Skip to content

Commit 22faadf

Browse files
committed
Decrease autocommand verbosity, so we only show messages for verbose level >= 9. Fixes #44
1 parent a374ceb commit 22faadf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

common/content/autocommands.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const AutoCommands = Module("autocommands", {
117117

118118
for (let autoCmd of autoCmds) {
119119
if (autoCmd.pattern.test(url)) {
120-
if (!lastPattern || lastPattern.source != autoCmd.pattern.source)
120+
if (options["verbose"] >= 9 && (!lastPattern || lastPattern.source != autoCmd.pattern.source))
121121
liberator.echomsg("Executing " + event + " Auto commands for \"" + autoCmd.pattern.source + "\"");
122122

123123
lastPattern = autoCmd.pattern;

vimperator/NEWS

+2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
201x-00-00
22
* Version 3.8.3
3+
* Only show "Executing Autocommand ..." message on verbose level >= 9
34
* Push minVersion to Firefox25, as we have some problems on older Firefoxs regarding search
45
* Make 'gH' command work with multiple home pages
56
* Don't prompt user for confirmation when 'delbmarks!' command is invoked in silent mode
7+
* Many compatibility fixes with new Firefox versions
68

79
2014-02-14: A Valentine's gift
810
* Version 3.8.2

0 commit comments

Comments
 (0)