Prefix "GnuPG: " to all debug messages

This commit is contained in:
Markus Braun 2009-07-17 09:02:15 +00:00
parent 16412c1b18
commit b9a0a498d5

View File

@ -192,7 +192,7 @@ function s:GPGInit()
let g:GPGPreferSign = 0 let g:GPGPreferSign = 0
endif endif
" check if debugging is turned on " start with empty default recipients if none is defined so far
if (!exists("g:GPGDefaultRecipients")) if (!exists("g:GPGDefaultRecipients"))
let g:GPGDefaultRecipients = [] let g:GPGDefaultRecipients = []
endif endif
@ -1043,7 +1043,7 @@ endfunction
" output debug message, if this message has high enough importance " output debug message, if this message has high enough importance
function s:GPGDebug(level, text) function s:GPGDebug(level, text)
if (g:GPGDebugLevel >= a:level) if (g:GPGDebugLevel >= a:level)
echom a:text echom "GnuPG: " . a:text
endif endif
endfunction endfunction