From 15fd394fc516cb10e56ef9dfa10b7eb18a9c4e83 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Fri, 14 Jun 2013 23:01:22 -0400 Subject: [PATCH] Restore the :silent command when encrypting the buffer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was lost in the refactor of external command handling, commit 7d102c843, and was causing an unnecessary "Press ENTER …" prompt to be emitted whenever the buffer was written out. Signed-off-by: James McCoy --- plugin/gnupg.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 0e24a8e..4c62066 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -1,5 +1,5 @@ " Name: gnupg.vim -" Last Change: 2013 Apr 23 +" Last Change: 2013 Jun 14 " Maintainer: James McCoy " Original Author: Markus Braun " Summary: Vim plugin for transparent editing of gpg encrypted files. @@ -637,7 +637,7 @@ function s:GPGEncrypt() let cmd = { 'level': 1, 'ex': "'[,']w !" } let cmd.args = '--quiet --no-encrypt-to ' . options let cmd.redirect = '>' . shellescape(destfile, 1) - call s:GPGExecute(cmd) + silent call s:GPGExecute(cmd) " restore encoding if (s:GPGEncoding != "")