Variable: internal-ange-ftp-mode-hook

internal-ange-ftp-mode-hook is a variable defined in ange-ftp.el.gz.

Value

nil

Documentation

Hook run after entering Internal Ange-ftp mode.

No problems result if this variable is not bound. add-hook automatically binds it. (This is true for all hook variables.)

Source Code

;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
(define-derived-mode internal-ange-ftp-mode comint-mode "Internal Ange-ftp"
  "Major mode for interacting with the FTP process.

\\{comint-mode-map}"
  (setq-local ange-ftp-process-string "")
  (make-local-variable 'ange-ftp-process-busy)
  (make-local-variable 'ange-ftp-process-result)
  (make-local-variable 'ange-ftp-process-msg)
  (make-local-variable 'ange-ftp-process-multi-skip)
  (make-local-variable 'ange-ftp-process-continue)
  (make-local-variable 'ange-ftp-binary-hash-mark-size)
  (make-local-variable 'ange-ftp-ascii-hash-mark-size)
  (make-local-variable 'ange-ftp-hash-mark-unit)
  (make-local-variable 'ange-ftp-last-percent)
  (setq-local ange-ftp-hash-mark-count 0)
  (setq-local ange-ftp-xfer-size 0)
  (setq-local ange-ftp-process-result-line "")
  (setq comint-prompt-regexp "^ftp> ")
  ;; This is a regexp that can't match anything.
  ;; ange-ftp has its own ways of handling passwords.
  (setq-local comint-password-prompt-regexp regexp-unmatchable)
  (setq-local paragraph-start comint-prompt-regexp))