Function: ffap-replace-file-component

ffap-replace-file-component is a byte-compiled function defined in ffap.el.gz.

Signature

(ffap-replace-file-component FULLNAME NAME)

Documentation

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

Source Code

;; Defined in /usr/src/emacs/lisp/ffap.el.gz
;;; Possibly Remote Resources:

(defun ffap-replace-file-component (fullname name)
  "In remote FULLNAME, replace path with NAME.  May return nil."
  (and (stringp fullname)
       (stringp name)
       (concat (file-remote-p fullname) name)))