Variable: life-mode-hook
life-mode-hook is a variable defined in life.el.gz.
Value
nil
Documentation
Hook run after entering Life 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/play/life.el.gz
(define-derived-mode life-mode special-mode "Life"
"Major mode for the buffer of `life'."
(setq-local case-fold-search nil)
(setq-local truncate-lines t)
(setq-local show-trailing-whitespace nil)
(setq-local life-current-generation 0)
(setq-local life-generation-string "0")
(setq-local mode-line-buffer-identification '("Life: generation "
life-generation-string))
(setq-local fill-column (min (or life--max-width most-positive-fixnum)
(1- (window-width))))
(setq-local life-window-start 1)
(buffer-disable-undo))