Function: todo-edit-item

todo-edit-item is an interactive and byte-compiled function defined in todo-mode.el.gz.

Signature

(todo-edit-item &optional ARG)

Documentation

Choose an editing operation for the current item and carry it out.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-edit-item (&optional arg)
  "Choose an editing operation for the current item and carry it out."
  (interactive "P")
  (let ((marked (assoc (todo-current-category) todo-categories-with-marks)))
    (cond ((and (todo-done-item-p) (not marked))
	   (todo-edit-item--next-key 'done arg))
	  ((or marked (todo-item-string))
	   (todo-edit-item--next-key 'todo arg)))))