ffap-replace-file-component

ffap-replace-file-component is a compiled Lisp function in `ffap.el'.

(ffap-replace-file-component FULLNAME NAME)

In remote FULLNAME, replace path with NAME. May return nil.