# HG changeset patch # User Thien-Thi Nguyen # Date 1184688613 0 # Node ID 639d3d9bce58b1c98bfd160eeca24961b5cd0726 # Parent 8dcc6f809d32fa13ad0e371d896093a3754f02dc (bookmark-show-all-annotations): Make sure each inserted annotation ends with newline. diff -r 8dcc6f809d32 -r 639d3d9bce58 lisp/bookmark.el --- a/lisp/bookmark.el Tue Jul 17 04:48:56 2007 +0000 +++ b/lisp/bookmark.el Tue Jul 17 16:10:13 2007 +0000 @@ -1794,7 +1794,8 @@ (if (and ann (not (string-equal ann ""))) ;; insert the annotation, indented by 4 spaces. (progn - (save-excursion (insert ann)) + (save-excursion (insert ann) (unless (bolp) + (insert "\n"))) (while (< (point) (point-max)) (beginning-of-line) ; paranoia (insert " ")