Lines Matching defs:exists
139 (file-executable-p . tramp-smb-handle-file-exists-p)
140 (file-exists-p . tramp-smb-handle-file-exists-p)
152 (file-readable-p . tramp-smb-handle-file-exists-p)
213 (filename newname &optional ok-if-already-exists keep-date)
223 (rename-file tmpfile newname ok-if-already-exists)
229 (when (and (not ok-if-already-exists)
230 (file-exists-p newname))
231 (error "copy-file: file %s already exists" newname))
253 (when (file-exists-p directory)
272 (when (file-exists-p filename)
370 (defun tramp-smb-handle-file-exists-p (filename)
371 "Like `file-exists-p' for tramp files."
388 (unless (file-exists-p filename)
426 ((not (file-exists-p file1)) nil)
427 ((not (file-exists-p file2)) t)
433 (if (not (file-exists-p filename))
435 (and (file-exists-p dir)
536 (filename newname &optional ok-if-already-exists)
545 (rename-file tmpfile newname ok-if-already-exists)
551 (when (and (not ok-if-already-exists)
552 (file-exists-p newname))
553 (error "rename-file: file %s already exists" newname))
587 confirm (file-exists-p filename))
588 (unless (y-or-n-p (format "File %s exists; overwrite anyway? "