1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(diary-list-entries): Also hide the terminating newline.

This commit is contained in:
Stefan Monnier 2005-11-16 16:04:29 +00:00
parent bf12aeee60
commit 66a85723ce
2 changed files with 9 additions and 3 deletions

View File

@ -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> 2005-11-16 Carsten Dominik <dominik@science.uva.nl>
* textmodes/reftex.el (reftex-use-fonts): removed the check for * textmodes/reftex.el (reftex-use-fonts): Remove the check for
window-system, to allow fonts on tty. window-system, to allow fonts on tty.
2005-11-17 Nick Roberts <nickrob@snap.net.nz> 2005-11-17 Nick Roberts <nickrob@snap.net.nz>

View File

@ -452,7 +452,8 @@ If LIST-ONLY is non-nil don't modify or display the buffer, only return a list."
2)) 2))
(while (looking-at " \\|\^I") (while (looking-at " \\|\^I")
(re-search-forward "\^M\\|\n" nil 'move)) (re-search-forward "\^M\\|\n" nil 'move))
(unless (eobp) (backward-char 1)) (unless (and (eobp) (not (bolp)))
(backward-char 1))
(unless list-only (unless list-only
(remove-overlays date-start (point) (remove-overlays date-start (point)
'invisible 'diary)) 'invisible 'diary))