From c1b0dc0c50c092872c15518c038187d210bd3179 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sun, 3 Mar 2002 08:57:04 +0000 Subject: [PATCH] (list-diary-entries): Use `buffer-substring' instead of `buffer-substring-no-properties' to support enriched mode. --- lisp/calendar/diary-lib.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 4472344370f..9c49f17adfc 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el @@ -324,9 +324,9 @@ These hooks have the following distinct roles: (point) ?\^M ?\n t) (add-to-diary-list date - (buffer-substring-no-properties + (buffer-substring entry-start (point)) - (buffer-substring-no-properties + (buffer-substring (1+ date-start) (1- entry-start))))))) (setq d (cdr d))) (or entry-found -- 2.39.5