Function: todo-item-end

todo-item-end is a byte-compiled function defined in otodo-mode.el.gz.

Signature

(todo-item-end &optional INCLUDE-SEP)

Documentation

Return point at end of current TODO list item.

If INCLUDE-SEP is non-nil, return point after the separator.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/otodo-mode.el.gz
(defun todo-item-end (&optional include-sep)
  "Return point at end of current TODO list item.
If INCLUDE-SEP is non-nil, return point after the separator."
  (save-excursion
    (end-of-line)
    (if (search-forward-regexp
         (concat "^" (regexp-quote todo-prefix)) nil 'goto-end)
        (goto-char (match-beginning 0)))
    (unless include-sep (skip-chars-backward "\n"))
    (point)))