[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate a45584c53f 358/372: - removed customizable functi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate a45584c53f 358/372: - removed customizable function 'annotate-y-or-n-prompt-function'. |
Date: |
Fri, 4 Feb 2022 16:59:22 -0500 (EST) |
branch: elpa/annotate
commit a45584c53fe95d60e9a7d8194fc3450f415c183a
Author: cage <cage@invalid>
Commit: cage <cage@invalid>
- removed customizable function 'annotate-y-or-n-prompt-function'.
---
README.org | 14 ++++----------
annotate.el | 7 +------
2 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/README.org b/README.org
index 3637c6ed9f..1703fac7c1 100644
--- a/README.org
+++ b/README.org
@@ -77,10 +77,8 @@ can take advantage of its packages generated files
management.
annotation deletes them.
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.
+ is *nil*) a confirmation action is asked, using ~y-or-n-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
@@ -94,7 +92,6 @@ can take advantage of its packages generated files management.
**** related customizable variable
- ~annotate-annotation-column~;
- - ~annotate-y-or-n-prompt-function~;
- ~annotate-annotation-confirm-deletion~;
- ~annotate-annotation-max-size-not-place-new-line~;
- ~annotate-annotation-position-policy~;
@@ -108,13 +105,10 @@ can take advantage of its packages generated files
management.
Delete an annotation under point, if such annotation exists.
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.
+ is *nil*) a confirmation action is asked, using ~y-or-n-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)
diff --git a/annotate.el b/annotate.el
index a7f8a82a49..cac2992623 100644
--- a/annotate.el
+++ b/annotate.el
@@ -219,11 +219,6 @@ by the newline character only) instead."
:type 'boolean
:group 'annotate)
-(defcustom annotate-y-or-n-prompt-function 'yes-or-no-p
- "Function to be called when asking user for a yes/no question."
- :type 'function
- :group 'annotate)
-
(defconst annotate-prop-chain-position
'position)
@@ -2103,7 +2098,7 @@ This function is not part of the public API."
"Prompt user for delete confirmation.
This function is not part of the public API."
(or (not annotate-annotation-confirm-deletion)
- (funcall annotate-y-or-n-prompt-function
annotate-confirm-deleting-annotation-prompt)))
+ (y-or-n-p annotate-confirm-deleting-annotation-prompt)))
(cl-defun annotate-delete-annotation (&optional (point (point)))
"Command to delete an annotation, `point' is the buffer
- [nongnu] elpa/annotate a04a6144aa 240/372: Merge pull request #75 from cage2/master, (continued)
- [nongnu] elpa/annotate a04a6144aa 240/372: Merge pull request #75 from cage2/master, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a4607c4184 273/372: - updated version and documentation., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate daf4c3c726 283/372: - removed code, in integration procedures, that should never runs., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3239275a5b 265/372: - fitted 'annotate-position-inside-chain-p' into, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b68170837e 279/372: - fixed the width of the last row of the box, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 958ce126e0 272/372: - fixed more typos., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d55c48f508 304/372: changed function from 'font-lock-fontify-buffer' to 'font-lock-ensure'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 876f1425d2 310/372: - removed another useless argument from call to 'font-lock-flush'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate cc9393c6bd 318/372: - when annotationg a newline, replace annotation if a single one, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 92434b63ff 323/372: - improved documentation and fixed indentation for a couple of local functions., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a45584c53f 358/372: - removed customizable function 'annotate-y-or-n-prompt-function'.,
ELPA Syncer <=
- [nongnu] elpa/annotate 07667d4ccb 314/372: - updated version number in top comment block., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 641daae9d0 335/372: - updated docs and version number., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b74bade94c 345/372: - increased version number., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e6af7f8ef7 058/372: workaround for nil file name, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate eb01c0cfbb 077/372: - removed copyright line from README., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate d2841bad65 325/372: - ensured all annotations are saved before showing summary window., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6239d033ce 355/372: - updated README.org mentioning 'annotate-y-or-n-prompt-function'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 04a5710cf6 334/372: - prevented saving a file whith an empty database;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 2e7c18b12a 337/372: - fixed callback for "[replace]" button in summary window, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 6b73ccf009 352/372: - fixed function's name., ELPA Syncer, 2022/02/04