1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

(bookmark-show-all-annotations):

Make sure each inserted annotation ends with newline.
This commit is contained in:
Thien-Thi Nguyen 2007-07-17 16:10:13 +00:00
parent 73770b0319
commit 23fe28f248

View file

@ -1794,7 +1794,8 @@ if an annotation exists."
(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 " ")