Make bookmark-set prompt less confusing

* lisp/bookmark.el (bookmark-set): Make the prompt less confusing
(bug#51876).
This commit is contained in:
Lars Ingebrigtsen 2021-11-17 08:16:58 +01:00
parent 8e67cf41e3
commit 90ac2db9ed

View file

@ -916,7 +916,7 @@ it removes only the first instance of a bookmark with that name from
the list of bookmarks.)"
(interactive (list nil current-prefix-arg))
(let ((prompt
(if no-overwrite "Set bookmark" "Set bookmark unconditionally")))
(if no-overwrite "Append bookmark named" "Set bookmark named")))
(bookmark-set-internal prompt name (if no-overwrite 'push 'overwrite))))
;;;###autoload