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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user