# HG changeset patch # User Stefan Monnier # Date 1132157069 0 # Node ID 35f26e7799682e31a9d80b3f701a9d5168f298e9 # Parent f48f5b0d7e1eabf7bc956fd5bb5d50dd16d73511 (diary-list-entries): Also hide the terminating newline. diff -r f48f5b0d7e1e -r 35f26e779968 lisp/ChangeLog --- a/lisp/ChangeLog Wed Nov 16 16:03:26 2005 +0000 +++ b/lisp/ChangeLog Wed Nov 16 16:04:29 2005 +0000 @@ -1,7 +1,12 @@ +2005-11-16 Stefan Monnier + + * calendar/diary-lib.el (diary-list-entries): Also hide the + terminating newline. + 2005-11-16 Carsten Dominik - * textmodes/reftex.el (reftex-use-fonts): removed the check for - window-system, to allow fonts on tty. + * textmodes/reftex.el (reftex-use-fonts): Remove the check for + window-system, to allow fonts on tty. 2005-11-17 Nick Roberts diff -r f48f5b0d7e1e -r 35f26e779968 lisp/calendar/diary-lib.el --- a/lisp/calendar/diary-lib.el Wed Nov 16 16:03:26 2005 +0000 +++ b/lisp/calendar/diary-lib.el Wed Nov 16 16:04:29 2005 +0000 @@ -452,7 +452,8 @@ 2)) (while (looking-at " \\|\^I") (re-search-forward "\^M\\|\n" nil 'move)) - (unless (eobp) (backward-char 1)) + (unless (and (eobp) (not (bolp))) + (backward-char 1)) (unless list-only (remove-overlays date-start (point) 'invisible 'diary))