Commit 3310fdd2 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(icalendar--get-unfolded-buffer): Use `insert-buffer-substring' and `goto-char',

not `insert-buffer'.
parent f38cec78
......@@ -189,7 +189,8 @@ buffer."
(set-buffer unfolded-buffer)
(insert-buffer folded-ical-buffer)
(insert-buffer-substring folded-ical-buffer)
(goto-char (point-min))
(while (re-search-forward "\r?\n[ \t]" nil t)
(replace-match "" nil nil)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment