Forgot one place while adding '.pgp' suffix.

This commit is contained in:
Markus Braun 2006-12-08 11:58:26 +00:00
parent bb849bd53e
commit 768dda0d94

View File

@ -335,7 +335,7 @@ endf
"
fun s:GPGEditRecipients()
" only do this if it isn't already a GPGRecipients_* buffer
if (match(bufname("%"), "^\\(GPGRecipients_\\|GPGOptions_\\)") != 0 && match(bufname("%"), "\.gpg$") >= 0)
if (match(bufname("%"), "^\\(GPGRecipients_\\|GPGOptions_\\)") != 0 && match(bufname("%"), "\.\\(gpg\\|pgp\\)$") >= 0)
" save buffer name
let buffername=bufname("%")
@ -502,7 +502,7 @@ endf
"
fun s:GPGEditOptions()
" only do this if it isn't already a GPGOptions_* buffer
if (match(bufname("%"), "^\\(GPGRecipients_\\|GPGOptions_\\)") != 0 && match(bufname("%"), "\.gpg$") >= 0)
if (match(bufname("%"), "^\\(GPGRecipients_\\|GPGOptions_\\)") != 0 && match(bufname("%"), "\.\\(gpg\\|pgp\\)$") >= 0)
" save buffer name
let buffername=bufname("%")