Function: todo-category-string-matcher-2

todo-category-string-matcher-2 is a byte-compiled function defined in todo-mode.el.gz.

Signature

(todo-category-string-matcher-2 LIM)

Documentation

Search for todo category name within LIM for font-locking.

This is for fontifying category and file names appearing in Todo Filtered Items mode following todo (not done) items.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-category-string-matcher-2 (lim)
  "Search for todo category name within LIM for font-locking.
This is for fontifying category and file names appearing in Todo
Filtered Items mode following todo (not done) items."
  (if (eq major-mode 'todo-filtered-items-mode)
      (re-search-forward (concat todo-date-string-start todo-date-pattern
				 "\\(?: " diary-time-regexp "\\)?\\(?:"
				 (regexp-quote todo-nondiary-end)
				 "\\)? \\(?1:\\[.+\\]\\)")
			 lim t)))