From: Antonio Ospite Date: Wed, 8 Jun 2016 09:05:46 +0000 (+0200) Subject: signature_block.vim: check that the signature file is readable X-Git-Tag: 0.2~4 X-Git-Url: https://git.ao2.it/vim/signature_block.vim.git/commitdiff_plain/b7fd78cba105d437fc2b6230c2e7a4f110e2d163?hp=b7fd78cba105d437fc2b6230c2e7a4f110e2d163 signature_block.vim: check that the signature file is readable Check that the signature file is readable before appending it. This changes the behavior of the script when the signature file is NOT readable: - before this change the old signature would be removed even if the new one could not be read; - after this change the buffer content would not be changed if the new signature could not be read. ---