Function: todo-modes-set-2

todo-modes-set-2 is a byte-compiled function defined in todo-mode.el.gz.

Signature

(todo-modes-set-2)

Documentation

Make some settings that apply to multiple Todo modes.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-modes-set-2 ()
  "Make some settings that apply to multiple Todo modes."
  (add-to-invisibility-spec 'todo)
  (setq buffer-read-only t)
  (setq-local todo--item-headers-hidden nil)
  (setq-local desktop-save-buffer 'todo-desktop-save-buffer)
  (setq-local hl-line-range-function #'todo-hl-line-range))