Variable: tcl-mode-hook
tcl-mode-hook is a variable defined in tcl.el.gz.
Value
nil
Documentation
Hook run on entry to Tcl mode.
Several functions exist which are useful to run from your
tcl-mode-hook (see each function's documentation for more
information):
tcl-guess-application
Guesses a default setting for tcl-application based on any
"#!" line at the top of the file.
tcl-hashify-buffer
Quotes all "#" characters that don't correspond to actual
Tcl comments. (Useful when editing code not originally created
with this mode).
Add functions to the hook with add-hook:
(add-hook 'tcl-mode-hook #'tcl-guess-application)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/tcl.el.gz
;;
;; Hooks and other customization.
;;
(defvar tcl-mode-hook nil
"Hook run on entry to Tcl mode.
Several functions exist which are useful to run from your
`tcl-mode-hook' (see each function's documentation for more
information):
`tcl-guess-application'
Guesses a default setting for `tcl-application' based on any
\"#!\" line at the top of the file.
`tcl-hashify-buffer'
Quotes all \"#\" characters that don't correspond to actual
Tcl comments. (Useful when editing code not originally created
with this mode).
Add functions to the hook with `add-hook':
(add-hook \\='tcl-mode-hook #\\='tcl-guess-application)")