# HG changeset patch # User Thien-Thi Nguyen # Date 1184552160 0 # Node ID f10b72da2fb4521eb05af68dfbbac33c03450ef6 # Parent c363dc984506a6235b56cb5748ac155e06065112 (bookmark-show-all-annotations): Make sure each inserted annotation ends with newline. diff -r c363dc984506 -r f10b72da2fb4 lisp/bookmark.el --- a/lisp/bookmark.el Sun Jul 15 22:15:38 2007 +0000 +++ b/lisp/bookmark.el Mon Jul 16 02:16:00 2007 +0000 @@ -1816,7 +1816,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 " ")