1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

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

This commit is contained in:
Pavel Janík 2001-11-26 16:19:34 +00:00
parent 0e13751e8a
commit 4cf95c440b

View File

@ -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)