]> git.eshelyaron.com Git - emacs.git/commit
New option to confirm deletion in bookmark menu
authorKarl Fogel <kfogel@red-bean.com>
Wed, 5 May 2021 21:40:52 +0000 (16:40 -0500)
committerKarl Fogel <kfogel@red-bean.com>
Wed, 5 May 2021 21:40:52 +0000 (16:40 -0500)
commitb8bdf64377120d2c802e4ef13cfab1fec8c37a27
tree9fbddcb0854d8b664c2f3d32bb48a9bba49f5c36
parent40736357b8b811ffbe9023527db5c2a91a9c7a5a
New option to confirm deletion in bookmark menu

* lisp/bookmark.el (bookmark-menu-confirm-deletion): New defcustom.
(bookmark-delete-all): Add comment explaining why we don't use the new
confirmation formula here.
(bookmark-bmenu-execute-deletions): Conditionally confirm deletion.
Note that the bulk of the code diff here is just reindentation of an
otherwise unchanged `let' expression.

* etc/NEWS: Announce the new option.

Thanks to Lars Ingebrigtsen and Eli Zaretskii for review, and thanks
to Oliver Taylor for suggesting the option in the first place:

  https://lists.gnu.org/archive/html/emacs-humanities/2021-02/msg00022.html
  From: Oliver Taylor
  Subject: Re: [emacs-humanities] Extending Emacs Bookmarks to Work with EWW
  To: Karl Fogel
Cc: Stefan Kangas, Emacs-humanities mailing list
  Date: Wed, 3 Feb 2021 20:21:59 -0800
  Message-Id: <936D47EA-4D11-452B-8303-971B6386877B@me.com>
etc/NEWS
lisp/bookmark.el