Function: todo-category-string-matcher-1

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

Signature

(todo-category-string-matcher-1 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 done items.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-category-string-matcher-1 (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 done items."
  (if (eq major-mode 'todo-filtered-items-mode)
      (re-search-forward (concat todo-done-string-start todo-date-pattern
				 "\\(?: " diary-time-regexp
				 ;; Use non-greedy operator to prevent
				 ;; capturing possible following non-diary
				 ;; date string.
				 "\\)?] \\(?1:\\[.+?\\]\\)")
			 lim t)))