[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tmr e9c6c8861f 02/14: Get rid of tmr-descriptions-list
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tmr e9c6c8861f 02/14: Get rid of tmr-descriptions-list |
Date: |
Mon, 27 Jun 2022 12:58:03 -0400 (EDT) |
branch: externals/tmr
commit e9c6c8861f0b7d60ef035dc02a6d733bda7d9654
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Get rid of tmr-descriptions-list
We reuse the history variable. This way we get a "self-configuring"
description
list. Entries can be added by directly inputting them. Undesired entries
can be
deleted via Embark `M-x embark-act \`.
---
tmr.el | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/tmr.el b/tmr.el
index 818ee44340..6e821ab4d7 100644
--- a/tmr.el
+++ b/tmr.el
@@ -42,14 +42,6 @@
"TMR May Ring: set timers using a simple notation."
:group 'data)
-(defcustom tmr-descriptions-list (list "Boil water" "Prepare tea" "Bake bread")
- "Optional description candidates for the current `tmr'.
-These are provided as completion candidates when `tmr' is called
-with a DESCRIPTION argument or when `tmr-with-description' is
-used."
- :type '(repeat string)
- :group 'tmr)
-
(defcustom tmr-timer-created-functions
(list #'tmr-print-message-for-created-timer)
"Functions to execute when a timer is created.
@@ -292,7 +284,7 @@ If optional DEFAULT is provided use it as a default
candidate."
`(metadata (display-sort-function . ,#'identity)
(cycle-sort-function . ,#'identity))
(complete-with-action
- action tmr-descriptions-list string predicate)))
+ action tmr--description-hist string predicate)))
nil nil nil
'tmr--description-hist default))
- [elpa] externals/tmr bdd99767bb 03/14: Add tmr-tabulated--refresh, (continued)
- [elpa] externals/tmr bdd99767bb 03/14: Add tmr-tabulated--refresh, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr 38c9089597 08/14: tmr-remove-finished: Add autoload, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr 9f0dee563b 06/14: Move tmr-sound.el back into tmr.el, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr cfd798b066 11/14: Add tmr-reschedule and tmr-edit-description, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr 907756ce8d 14/14: Acknowledge Daniel Mendler for the latest patches, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr 448be30775 09/14: Improve tmr-clone: Only prompt for description if pressing C-u C-u, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr 6f3b096f2c 13/14: Greatly simplify tmr-tabulated, reuse tmr--read-timer, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr 58d30c4896 12/14: Remove single line functions which were used only once, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr 58224191d0 01/14: Rename struct tmr-timer to tmr--timer, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr e18496d187 07/14: Add tmr--update-hook, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr e9c6c8861f 02/14: Get rid of tmr-descriptions-list,
ELPA Syncer <=
- [elpa] externals/tmr 9974a28933 04/14: Remove unnecessary declare-function, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr d6d5e4d22d 05/14: Warn if dbus is unavailable, ELPA Syncer, 2022/06/27
- [elpa] externals/tmr 92d6163dd0 10/14: Remove no-hooks argument, ELPA Syncer, 2022/06/27