Commit c1b0dc0c authored by Thien-Thi Nguyen's avatar Thien-Thi Nguyen

(list-diary-entries): Use `buffer-substring' instead of

`buffer-substring-no-properties' to support enriched mode.
parent 4367c5a2
......@@ -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
......
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