changeset 66929:35f26e779968

(diary-list-entries): Also hide the terminating newline.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 16 Nov 2005 16:04:29 +0000
parents f48f5b0d7e1e
children bf55d63c7dd6
files lisp/ChangeLog lisp/calendar/diary-lib.el
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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  <monnier@iro.umontreal.ca>
+
+	* calendar/diary-lib.el (diary-list-entries): Also hide the
+	terminating newline.
+
 2005-11-16  Carsten Dominik  <dominik@science.uva.nl>
 
-	* 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  <nickrob@snap.net.nz>
 
--- 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))