Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fd5306d2
Commit
fd5306d2
authored
Jul 16, 2007
by
Thien-Thi Nguyen
Browse files
(bookmark-show-all-annotations):
Make sure each inserted annotation ends with newline.
parent
5412a7f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/bookmark.el
lisp/bookmark.el
+2
-1
No files found.
lisp/ChangeLog
View file @
fd5306d2
2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
* bookmark.el (bookmark-show-all-annotations):
Make sure each inserted annotation ends with newline.
2007-07-15 Juri Linkov <juri@jurta.org>
* delsel.el (delete-selection-pre-hook):
...
...
lisp/bookmark.el
View file @
fd5306d2
...
...
@@ -1816,7 +1816,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
" "
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment