aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim-mode/vim_mode.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 3a81b88..c55481c 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -1307,7 +1307,7 @@ sub _add_undo_entry {
# check it's not a dupe of the list head
my $head = $undo_buffer[0];
if ($line eq $head->[0] && $pos == $head->[1]) {
- print "Not adding duplicate to undo list";
+ print "Not adding duplicate to undo list" if DEBUG;
} else {
print "adding $line to undo list" if DEBUG;
# add to the front of the buffer