Function: todo-show

todo-show is an autoloaded, interactive and byte-compiled function defined in otodo-mode.el.gz.

Signature

(todo-show)

Documentation

Show TODO list.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/otodo-mode.el.gz
;;;###autoload
(defun todo-show ()
  "Show TODO list."
  (interactive)
  ;; Call todo-initial-setup only if there is neither a Todo file nor
  ;; a corresponding unsaved buffer.
  (if (or (file-exists-p todo-file-do)
	  (let* ((buf (get-buffer (file-name-nondirectory todo-file-do)))
		 (bufname (buffer-file-name buf)))
	    (equal (expand-file-name todo-file-do) bufname)))
      (find-file todo-file-do)
    (todo-initial-setup))
  (if (null todo-categories)
      (if (null todo-cats)
          (error "Error in %s: No categories in list `todo-categories'"
                 todo-file-do)
        (goto-char (point-min))
        (and (search-forward "todo-cats:" nil t)
             (replace-match "todo-categories:"))
        (make-local-variable 'todo-categories)
        (setq todo-categories todo-cats)))
  (beginning-of-line)
  (todo-category-select))