Function: diary-font-lock-sexps
diary-font-lock-sexps is a byte-compiled function defined in
diary-lib.el.gz.
Signature
(diary-font-lock-sexps LIMIT)
Documentation
Recognize sexp diary entry up to LIMIT for font-locking.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/diary-lib.el.gz
(defun diary-font-lock-sexps (limit)
"Recognize sexp diary entry up to LIMIT for font-locking."
(if (re-search-forward
(format "^%s?\\(%s\\)" (regexp-quote diary-nonmarking-symbol)
(regexp-quote diary-sexp-entry-symbol))
limit t)
(condition-case nil
(save-restriction
(narrow-to-region (point-min) limit)
(let ((start (point)))
(forward-sexp 1)
(store-match-data (list start (point)))
t))
(error t))))