Function: todo-raise-item

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

Signature

(todo-raise-item)

Documentation

Raise priority of current entry.

Key Bindings

Aliases

todo-cmd-rais

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/otodo-mode.el.gz
(defun todo-raise-item ()
  "Raise priority of current entry."
  (interactive)
  (if (> (count-lines (point-min) (point)) 0)
      (let ((item (todo-item-string)))
        (todo-remove-item)
        (todo-backward-item)
        (save-excursion
          (insert item "\n"))
        (message ""))
    (error "No TODO list entry to raise")))