Remove bookmark fringe marks when deleting all bookmarks
* lisp/bookmark.el (bookmark-delete-all): Remove fringe marks for all the bookmarks. (Bug#75953)
This commit is contained in:
parent
3bccd04c5c
commit
fdc6842a44
1 changed files with 2 additions and 0 deletions
|
@ -1584,6 +1584,8 @@ confirmation."
|
|||
(when (or no-confirm
|
||||
(yes-or-no-p "Permanently delete all bookmarks? "))
|
||||
(bookmark-maybe-load-default-file)
|
||||
(dolist (bm bookmark-alist)
|
||||
(bookmark--remove-fringe-mark bm))
|
||||
(setq bookmark-alist-modification-count
|
||||
(+ bookmark-alist-modification-count (length bookmark-alist)))
|
||||
(setq bookmark-alist nil)
|
||||
|
|
Loading…
Add table
Reference in a new issue