diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2007-07-17 16:10:13 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2007-07-17 16:10:13 +0000 |
commit | 23fe28f248284aeaefc144cbe6fbd3884992f938 (patch) | |
tree | 7a7526fc0252ad646fd16f7d860a7a3f9c3c101b /lisp/bookmark.el | |
parent | 73770b0319301feeb63a9f29f9e108d94ccb4ff9 (diff) | |
download | emacs-23fe28f248284aeaefc144cbe6fbd3884992f938.tar.gz |
(bookmark-show-all-annotations):
Make sure each inserted annotation ends with newline.
Diffstat (limited to 'lisp/bookmark.el')
-rw-r--r-- | lisp/bookmark.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 3c1469fef97..816ed8b182e 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -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 " ") |