Function: text-mode-hook-identify
text-mode-hook-identify is a byte-compiled function defined in
text-mode.el.gz.
Signature
(text-mode-hook-identify)
Documentation
Mark that this mode has run text-mode-hook.
This is how toggle-text-mode-auto-fill knows which buffers to operate on.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/text-mode.el.gz
;; This can be made a no-op once all modes that use text-mode-hook
;; are "derived" from text-mode. (As of 2015/04, and probably well before,
;; the only one I can find that doesn't so derive is rmail-edit-mode.)
(defun text-mode-hook-identify ()
"Mark that this mode has run `text-mode-hook'.
This is how `toggle-text-mode-auto-fill' knows which buffers to operate on."
(setq-local text-mode-variant t))