todo-check-file

todo-check-file is a compiled Lisp function in `todo-mode.el'.

(todo-check-file FILE)

Check the state associated with FILE and update it if necessary.
If FILE exists, return t. If it does not exist and there is no
live buffer with its content, return nil; if there is such a
buffer and the user tries to show it, ask whether to restore
FILE, and if confirmed, do so and return t; else delete the
buffer, clean up the state and return nil.