Function: ange-ftp-hook-function

ange-ftp-hook-function is an autoloaded and byte-compiled function defined in ange-ftp.el.gz.

Signature

(ange-ftp-hook-function OPERATION &rest ARGS)

Source Code

;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
;;; Define the handler for special file names
;;; that causes ange-ftp to be invoked.

;;;###autoload
(defun ange-ftp-hook-function (operation &rest args)
  (let ((fn (get operation 'ange-ftp)))
    (if fn
	;; Catch also errors in process-filter.
	(condition-case err
	    (let ((debug-on-error t))
	      (save-match-data (apply fn args)))
	  (error (signal (car err) (cdr err))))
      (ange-ftp-run-real-handler operation args))))