Function: hl-todo-occur

hl-todo-occur is an interactive and natively compiled function defined in hl-todo.el.

Signature

(hl-todo-occur)

Documentation

Use occur to find all TODO or similar keywords.

This actually finds a superset of the highlighted keywords, because it uses a regexp instead of a more sophisticated matcher. It also finds occurrences that are not within a string or comment.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/b97f5zr6snxdbh1bgqmj50mq949vd13i-emacs-packages-deps/share/emacs/site-lisp/elpa/hl-todo-20261001.1547/hl-todo.el
;;;###autoload
(defun hl-todo-occur ()
  "Use `occur' to find all TODO or similar keywords.
This actually finds a superset of the highlighted keywords,
because it uses a regexp instead of a more sophisticated
matcher.  It also finds occurrences that are not within a
string or comment."
  (interactive)
  (with-syntax-table hl-todo-syntax-table
    (occur (hl-todo--regexp))))