diff options
author | Arun Isaac | 2024-06-16 20:53:31 +0100 |
---|---|---|
committer | Arun Isaac | 2024-06-16 20:53:31 +0100 |
commit | 74495f5b03434332424c118c121fe8a600b95a83 (patch) | |
tree | 02306282abc94aa8a1c1ec60e2fa850dd3fa1a67 | |
parent | 3aff094ed9db6ceeb8f33a5a915e7099e6e82c77 (diff) | |
download | varuga-74495f5b03434332424c118c121fe8a600b95a83.tar.gz varuga-74495f5b03434332424c118c121fe8a600b95a83.tar.lz varuga-74495f5b03434332424c118c121fe8a600b95a83.zip |
Use LF line ending instead of CRLF.
* varuga.el (varuga-insert-calendar-line): Use LF line ending instead
of CRLF.
* varuga-tests.el (actual-line-feed-in-data): Update test.
-rw-r--r-- | varuga-tests.el | 2 | ||||
-rw-r--r-- | varuga.el | 4 |
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 @@ -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." |