Michael Albinus writes: >> >> + (not (let ((handler (find-file-name-handler >> + filename 'substitute-in-file-name))) >> + (and handler >> + (funcall handler 'substitute-in-file-name filename))))) > > I would rather use (not (file-remote-p file-name)) Okay.