From a3349f29c86725c9cad89eff66152da2a057ae75 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 29 Sep 2010 16:11:28 +0200 Subject: vim_mode: Add missing if DEBUG. --- vim-mode/vim_mode.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim-mode') 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 -- cgit v1.2.3