aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--varuga-tests.el2
-rw-r--r--varuga.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/varuga-tests.el b/varuga-tests.el
index 14ae568..97fb817 100644
--- a/varuga-tests.el
+++ b/varuga-tests.el
@@ -41,7 +41,7 @@
(equal (with-temp-buffer
(varuga-insert-calendar-line 'foo "foo\nbar")
(buffer-string))
- "FOO:foo\\Nbar\r\n")))
+ "FOO:foo\\Nbar\n")))
(ert-deftest line-limit-includes-properties ()
(should
diff --git a/varuga.el b/varuga.el
index d17e1aa..1d17779 100644
--- a/varuga.el
+++ b/varuga.el
@@ -84,14 +84,14 @@ KEY is the name of the ical property and VALUE is its value."
(insert str)
(setq octets-so-far next-octets))
(progn
- (insert "\r\n ")
+ (insert "\n ")
;; Set octets so far to 1 to account for the
;; folding space.
(setq octets-so-far 1)))))
(format "%s:%s"
(upcase (symbol-name key))
value)))
- (insert "\r\n"))
+ (insert "\n"))
(defun varuga-format-time-string (time)
"Format TIME to ical specification."