branch: elpa/annotate commit 6fbd8aa985981b4d8270d7b0f2bf62977da5dbf0 Author: cage <cage@invalid> Commit: cage <cage@invalid>
- used variable 'annotate-annotation-confirm-deletion' when asking for deleting an annotation. --- annotate.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/annotate.el b/annotate.el index 7711635cb2..a7f8a82a49 100644 --- a/annotate.el +++ b/annotate.el @@ -2102,7 +2102,8 @@ This function is not part of the public API." (defun annotate--confirm-annotation-delete () "Prompt user for delete confirmation. This function is not part of the public API." - (funcall annotate-y-or-n-prompt-function annotate-confirm-deleting-annotation-prompt)) + (or (not annotate-annotation-confirm-deletion) + (funcall annotate-y-or-n-prompt-function annotate-confirm-deleting-annotation-prompt))) (cl-defun annotate-delete-annotation (&optional (point (point))) "Command to delete an annotation, `point' is the buffer