MarcWeber/vim-addon-manager — pull request #122 by joninvski (2013-06-07 16:44:02+00:00)
Title: Check if p expansion is results in valid string

If the downloaded file is a zip file, the expand function of the zip file path sometimes gave a empty string.

This happened in vim version 7.3.

It happened on YankRing plugin for example.

This code, checks if the expanded path string is empty. If it is, it uses the non expanded string.