Function: icalendar-contains-folded-lines-p

icalendar-contains-folded-lines-p is a byte-compiled function defined in icalendar-parser.el.gz.

Signature

(icalendar-contains-folded-lines-p &optional BUFFER)

Documentation

Return non-nil if BUFFER contains folded content lines.

BUFFER defaults to the current buffer. Folded content lines need to be unfolded before parsing the buffer or performing syntax highlighting. Returns the position at the end of the first fold, or nil.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:contains-folded-lines-p (&optional buffer)
  "Return non-nil if BUFFER contains folded content lines.

BUFFER defaults to the current buffer.  Folded content lines need to be
unfolded before parsing the buffer or performing syntax
highlighting.  Returns the position at the end of the first fold, or nil."
  (with-current-buffer (or buffer (current-buffer))
    (save-excursion
      (goto-char (point-min))
      (re-search-forward (rx (seq line-start (or " " "\t")))
                         nil t))))