Use overlays rather than selective-display.
commit1aee45ed44f7b975b937d3f8865491bea3d4e5cf
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 6 Oct 2005 16:22:13 +0000 (6 16:22 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 6 Oct 2005 16:22:13 +0000 (6 16:22 +0000)
tree3ab8258e808c76c465751a535c1d7bf0c96aa635
parent7a34e7b1dc99d814e7d170f7825545bb5a985db9
Use overlays rather than selective-display.
(diary-selective-display): New var.
(diary-header-line-format): Use it.
(diary-list-entries): Add argument `list-only'.
Put the buffer in diary-mode.  Don't add \^M at beg and end.
Replace \^M by invisible overlays.
(diary-unhide-everything): Replace \^M by invisible overlays.
(print-diary-entries): Look for overlays rather than \^M.
Add a space to the temp buffer name.
(diary-show-all-entries, mark-diary-entries, make-diary-entry):
Put the buffer in diary-mode.
(list-sexp-diary-entries): Replace \^M by invisible overlays.
(diary-anniversary): Make the year arg optional.
(diary-time-regexp): New const.
(diary-font-lock-keywords): Use it to accept a few more time formats.
lisp/calendar/diary-lib.el