Function: ange-ftp-barf-or-query-if-file-exists
ange-ftp-barf-or-query-if-file-exists is a byte-compiled function
defined in ange-ftp.el.gz.
Signature
(ange-ftp-barf-or-query-if-file-exists ABSNAME QUERYSTRING INTERACTIVE)
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
;;;; ------------------------------------------------------------
;;;; File copying support... totally re-written 6/24/92.
;;;; ------------------------------------------------------------
(defun ange-ftp-barf-or-query-if-file-exists (absname querystring interactive)
(if (file-exists-p absname)
(if (not interactive)
(signal 'file-already-exists (list absname))
(if (not (yes-or-no-p (format "File %s already exists; %s anyway? "
absname querystring)))
(signal 'file-already-exists (list absname))))))