Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make pomdoro-count customizable so that reset on demand is possible #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions org-pomodoro.el
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ Use `org-pomodoro-long-break-sound' to determine what sound that should be."
"The time in minutes for which a pomodoro group is valid.
The size of a pomodoro group is defined by `org-pomodoro-long-break-frequency'.

(defcustom org-pomodoro-count 0
"The number of pomodoros since the last long break.")

If you do not clock in for this period of time you will be prompted
whether to reset the pomodoro count next time you call `org-pomodoro'."
:group 'org-pomodoro
Expand Down Expand Up @@ -351,9 +354,6 @@ Run before a break's specific hook.")
It changes to :pomodoro when starting a pomodoro and to :longbreak
or :break when starting a break.")

(defvar org-pomodoro-count 0
"The number of pomodoros since the last long break.")

(defvar org-pomodoro-last-clock-in nil
"The last time the pomodoro was set.")

Expand Down