aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org-tempus.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-tempus.el b/org-tempus.el
index bc5aa0b..968eb4f 100644
--- a/org-tempus.el
+++ b/org-tempus.el
@@ -735,7 +735,7 @@ Return non-nil when clock-in succeeds."
(defun org-tempus--auto-clock-in-message (base)
"Return notification message using BASE with optional break time."
(let ((break-seconds (org-tempus--current-break-duration)))
- (if break-seconds
+ (if (numberp break-seconds)
(format "%s after %s break"
base
(org-duration-from-minutes (/ break-seconds 60.0)))
nihil fit ex nihilo