Variable: telnet-mode-hook

telnet-mode-hook is a variable defined in telnet.el.gz.

Value

nil

Documentation

Hook run after entering Telnet 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/telnet.el.gz
(define-derived-mode telnet-mode comint-mode "Telnet"
  "This mode is for using telnet from a buffer to another host.
It has most of the same commands as `comint-mode'.
There is a variable `telnet-interrupt-string' which is the character
sent to try to stop execution of a job on the remote host.
Data is sent to the remote host when RET is typed."
  (setq-local revert-buffer-function 'telnet-revert-buffer)
  (setq-local window-point-insertion-type t)
  (setq-local comint-prompt-regexp telnet-prompt-pattern)
  (setq-local comint-use-prompt-regexp t))