Function: todo-toggle-item-highlighting

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

Signature

(todo-toggle-item-highlighting)

Documentation

Highlight or unhighlight the todo item the cursor is on.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-toggle-item-highlighting ()
  "Highlight or unhighlight the todo item the cursor is on."
  (interactive)
  (eval-and-compile (require 'hl-line))
  (when (memq major-mode
	      '(todo-mode todo-archive-mode todo-filtered-items-mode))
    (if hl-line-mode
	(hl-line-mode -1)
      (hl-line-mode 1))))