vim-patch:7.4.235

> Problem:    It is not easy to get the full path of a command.
> Solution:   Add the exepath() function.

> https://code.google.com/p/vim/source/detail?r=5ab2946f7ce560985830fbc3c453bb0f7a01f385

I think this should remain a WIP until #938 gets merged, but I thought it would be better to put this up rather than just sit on it. A few things might change before [RDY] anyway.
Looks like I got confused. I chose to stick close to the patch, but at first I thought `buf` needn't be duplicated if `buf[0] != '.'`, so `*ex = buf` in that case--except that duplicating the string shrinks the allocation space. 

I'll need to change that comment as well. "asked for ownership" -> "requested a copy"