Function: icalendar-unfolded-buffer-from-buffer
icalendar-unfolded-buffer-from-buffer is a byte-compiled function
defined in icalendar-parser.el.gz.
Signature
(icalendar-unfolded-buffer-from-buffer BUFFER)
Documentation
Create a new, unfolded buffer with the same contents as BUFFER.
Copies the contents of BUFFER to a new buffer and performs line
unfolding there with icalendar-unfold-region. That function can in
some cases have undesirable effects; see its docstring. If BUFFER is
visiting a file, it may be better to reload its contents from that file
and perform line unfolding before decoding; see
icalendar-unfolded-buffer-from-file. Returns the new buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:unfolded-buffer-from-buffer (buffer)
"Create a new, unfolded buffer with the same contents as BUFFER.
Copies the contents of BUFFER to a new buffer and performs line
unfolding there with `icalendar-unfold-region'. That function can in
some cases have undesirable effects; see its docstring. If BUFFER is
visiting a file, it may be better to reload its contents from that file
and perform line unfolding before decoding; see
`icalendar-unfolded-buffer-from-file'. Returns the new buffer."
(with-current-buffer buffer
(ical:unfolded-buffer-from-region (point-min) (point-max) buffer)))