From 6006af630b56b4b970fd63919c20420f7af32225 Mon Sep 17 00:00:00 2001 From: Thomas Arendsen Hein Date: Thu, 31 May 2012 21:21:35 -0400 Subject: [PATCH] Do not echo debug messages when redirecting to a log file Signed-off-by: James McCoy --- plugin/gnupg.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index c2b172a..046100d 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -1260,7 +1260,7 @@ function s:GPGDebug(level, text) if exists("g:GPGDebugLevel") && g:GPGDebugLevel >= a:level if exists("g:GPGDebugLog") execute "redir >> " . g:GPGDebugLog - echom "GnuPG: " . a:text + silent echom "GnuPG: " . a:text redir END else echom "GnuPG: " . a:text