Variable: todo-categories-mode-hook

todo-categories-mode-hook is a variable defined in todo-mode.el.gz.

Value

nil

Documentation

Hook run after entering Todo-Cats 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/calendar/todo-mode.el.gz
(define-derived-mode todo-categories-mode special-mode "Todo-Cats"
  "Major mode for displaying and editing todo categories.

\\{todo-categories-mode-map}"
  (setq-local todo-current-todo-file todo-global-current-todo-file)
  (setq-local todo-categories
	      ;; Can't use find-buffer-visiting when
	      ;; `todo-show-categories-table' is called on first
	      ;; invocation of `todo-show', since there is then no
	      ;; buffer visiting the current file.
              (with-current-buffer (find-file-noselect
                                    todo-current-todo-file 'nowarn)
                todo-categories)))