diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-11-18 23:04:15 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-11-18 23:04:15 +0100 |
commit | 68df8bc4fd1d133d7458115b8107104b268541a6 (patch) | |
tree | 0f94c83cecbbe9a4cd1085e657e4b2c70defdf6b | |
parent | 0a24f501360d4c66948f7adda1e4acd641d2acf7 (diff) | |
parent | b3125dc84bf6fd17f803b1270c538b0cfda34350 (diff) | |
download | org-mode-68df8bc4fd1d133d7458115b8107104b268541a6.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/ox-icalendar.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el index 157108a..4597da3 100644 --- a/lisp/ox-icalendar.el +++ b/lisp/ox-icalendar.el @@ -458,7 +458,7 @@ or subject for the event." (mapconcat (lambda (line) ;; Limit each line to a maximum of 75 characters. If it is - ;; longer, fold it by using "\n " as a continuation marker. + ;; longer, fold it by using "\r\n " as a continuation marker. (let ((len (length line))) (if (<= len 75) line (let ((folded-line (substring line 0 75)) @@ -468,11 +468,11 @@ or subject for the event." ;; line, real contents must be split at 74 chars. (while (< (setq chunk-end (+ chunk-start 74)) len) (setq folded-line - (concat folded-line "\n " + (concat folded-line "\r\n " (substring line chunk-start chunk-end)) chunk-start chunk-end)) - (concat folded-line "\n " (substring line chunk-start)))))) - (org-split-string s "\n") "\n"))) + (concat folded-line "\r\n " (substring line chunk-start)))))) + (org-split-string s "\n") "\r\n"))) |