Commit 4cf95c44 authored by Pavel Janík's avatar Pavel Janík

(list-diary-entries): Use insert instead of insert-string.

parent 0e13751e
......@@ -261,10 +261,10 @@ These hooks have the following distinct roles:
(if (not (looking-at "\^M\\|\n"))
(progn
(goto-char (point-max))
(insert-string "\^M")))
(insert "\^M")))
(goto-char (point-min))
(if (not (looking-at "\^M\\|\n"))
(insert-string "\^M"))
(insert "\^M"))
(subst-char-in-region (point-min) (point-max) ?\n ?\^M t)
(calendar-for-loop i from 1 to number do
(let ((d diary-date-forms)
......
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