Function: todo-repair-categories-sexp

todo-repair-categories-sexp is an interactive and byte-compiled function defined in todo-mode.el.gz.

Signature

(todo-repair-categories-sexp)

Documentation

Repair corrupt todo file categories sexp.

This should only be needed as a consequence of careless manual editing or a bug in todo.el.

*Warning*: Calling this command restores the category order to
the list element order in the todo file categories sexp, so any order changes made in Todo Categories mode will have to be made again.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-repair-categories-sexp ()
  "Repair corrupt todo file categories sexp.
This should only be needed as a consequence of careless manual
editing or a bug in todo.el.

*Warning*: Calling this command restores the category order to
the list element order in the todo file categories sexp, so any
order changes made in Todo Categories mode will have to be made
again."
  (interactive)
  (let ((todo-categories (todo-make-categories-list t)))
    (todo-update-categories-sexp)))