Function: todo-mode-line-control

todo-mode-line-control is a byte-compiled function defined in todo-mode.el.gz.

Signature

(todo-mode-line-control CAT)

Documentation

Return a mode line control for todo or archive file buffers.

Argument CAT is the name of the current todo category. This function is the value of the user variable todo-mode-line-function.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-mode-line-control (cat)
  "Return a mode line control for todo or archive file buffers.
Argument CAT is the name of the current todo category.
This function is the value of the user variable
`todo-mode-line-function'."
  (let ((file (todo-short-file-name todo-current-todo-file)))
    (format "%s category %d: %s" file todo-category-number cat)))