Variable: ange-ftp-before-parse-ls-hook
ange-ftp-before-parse-ls-hook is a variable defined in ange-ftp.el.gz.
Value
nil
Documentation
Normal hook run before parsing the text of an FTP directory listing.
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
;; With no-error nil, this function returns:
;; an error if file is not an ange-ftp-name
;; (This should never happen.)
;; an error if either the listing is unreadable or there is an ftp error.
;; the listing (a string), if everything works.
;;
;; With no-error t, it returns:
;; an error if not an ange-ftp-name
;; error if listing is unreadable (most likely caused by a slow connection)
;; nil if ftp error (this is because although asking to list a nonexistent
;; directory on a remote unix machine usually (except
;; maybe for dumb hosts) returns an ls error, but no
;; ftp error, if the same is done on a VMS machine,
;; an ftp error is returned. Need to trap the error
;; so we can go on and try to list the parent.)
;; the listing, if everything works.
;; If WILDCARD is non-nil, then this implements the guts of insert-directory
;; in the wildcard case. Then we make a relative directory listing
;; of FILE within the directory specified by `default-directory'.
(defvar ange-ftp-before-parse-ls-hook nil
"Normal hook run before parsing the text of an FTP directory listing.")