# HG changeset patch # User Thien-Thi Nguyen # Date 1015145824 0 # Node ID bcdc815ba23f53bf9662b9bf3fe0c9a35df46cd4 # Parent feb21d2d94b41b16f474c235d7d39f86384fef38 (list-diary-entries): Use `buffer-substring' instead of `buffer-substring-no-properties' to support enriched mode. diff -r feb21d2d94b4 -r bcdc815ba23f lisp/calendar/diary-lib.el --- a/lisp/calendar/diary-lib.el Sun Mar 03 00:36:27 2002 +0000 +++ b/lisp/calendar/diary-lib.el Sun Mar 03 08:57:04 2002 +0000 @@ -324,9 +324,9 @@ (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