summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2018-04-11 17:28:59 -0700
committerSean Whitton <spwhitton@spwhitton.name>2018-04-11 17:28:59 -0700
commit41b5b6ad9c911bcf68b4968aab7a1aab2dba4c88 (patch)
treed16cdf1c5ea6de824d9d48899512f3223bd8f978
parent720870b7792722004e8b77a9dc0acae355775cb3 (diff)
Commit Debian 3.0 (quilt) metadata
[dgit (4.3~bpo9+1) quilt-fixup]
-rw-r--r--debian/patches/debian-changes24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/debian-changes b/debian/patches/debian-changes
index 0f09915..5e5be51 100644
--- a/debian/patches/debian-changes
+++ b/debian/patches/debian-changes
@@ -73,3 +73,27 @@ A single combined diff, containing all the changes, follows.
,(number-to-string seconds)))))
(defun redtick--play-work-sound ()
+@@ -249,14 +249,15 @@
+
+ (defun redtick--save-history ()
+ "Adding current-pomodoro info to history file."
+- (let ((history (redtick--load redtick-history-file)))
+- (redtick--save redtick-history-file
+- (add-to-list 'history
+- (list redtick--pomodoro-started-at
+- redtick-work-interval
+- redtick-rest-interval
+- redtick--pomodoro-description)
+- t))))
++ (when redtick-history-file
++ (let ((history (redtick--load redtick-history-file)))
++ (redtick--save redtick-history-file
++ (add-to-list 'history
++ (list redtick--pomodoro-started-at
++ redtick-work-interval
++ redtick-rest-interval
++ redtick--pomodoro-description)
++ t)))))
+
+ (add-hook 'redtick-after-rest-hook #'redtick--save-history)
+