branch: elpa/annotate commit 6239d033ceb2797e4bf2ff8a91f192554e008d2f Author: cage <cage@invalid> Commit: cage <cage@invalid>
- updated README.org mentioning 'annotate-y-or-n-prompt-function'. --- README.org | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 0d3cfea760..b868978819 100644 --- a/README.org +++ b/README.org @@ -76,9 +76,11 @@ can take advantage of its packages generated files management. will edit that annotation instead of creating a new one. Clearing the annotation deletes them. - If ~annotate-annotation-confirm-deletion~ is non nil (the default) - a confirmation action is asked to the user before actually remove - the annotation. + If ~annotate-annotation-confirm-deletion~ is non nil (the default + is *nil*) a confirmation action is asked using the function bound + to the customizable variable ~annotate-y-or-n-prompt-function~ + (default: ~yes-or-no-p~) to the user before actually remove the + annotation. If point is the newline character and the customizable variable ~annotate-endline-annotate-whole-line~ is not nil (default is non @@ -104,11 +106,14 @@ can take advantage of its packages generated files management. *** ~C-c C-d~ Delete an annotation under point, if such annotation exists. - If ~annotate-annotation-confirm-deletion~ is non nil (the default) - a confirmation action is asked to the user before actually remove - the annotation. + If ~annotate-annotation-confirm-deletion~ is non nil (the default + is *nil*) a confirmation action is asked using the function bound + to the customizable variable ~annotate-y-or-n-prompt-function~ + (default: ~yes-or-no-p~) to the user before actually remove the + annotation. **** related customizable variable + - ~annotate-y-or-n-prompt-function~ - ~annotate-annotation-confirm-deletion~. *** ~C-c ]~ (function annotate-goto-next-annotation)