Mercurial > emacs
comparison lisp/calendar/diary-lib.el @ 43646:bcdc815ba23f
(list-diary-entries): Use `buffer-substring' instead of
`buffer-substring-no-properties' to support enriched mode.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Sun, 03 Mar 2002 08:57:04 +0000 |
parents | 22938e0c54b2 |
children | a3338547dad4 |
comparison
equal
deleted
inserted
replaced
43645:feb21d2d94b4 | 43646:bcdc815ba23f |
---|---|
322 (backward-char 1) | 322 (backward-char 1) |
323 (subst-char-in-region date-start | 323 (subst-char-in-region date-start |
324 (point) ?\^M ?\n t) | 324 (point) ?\^M ?\n t) |
325 (add-to-diary-list | 325 (add-to-diary-list |
326 date | 326 date |
327 (buffer-substring-no-properties | 327 (buffer-substring |
328 entry-start (point)) | 328 entry-start (point)) |
329 (buffer-substring-no-properties | 329 (buffer-substring |
330 (1+ date-start) (1- entry-start))))))) | 330 (1+ date-start) (1- entry-start))))))) |
331 (setq d (cdr d))) | 331 (setq d (cdr d))) |
332 (or entry-found | 332 (or entry-found |
333 (not diary-list-include-blanks) | 333 (not diary-list-include-blanks) |
334 (setq diary-entries-list | 334 (setq diary-entries-list |