diff options
| author | Raúl Benencia <id@rbenencia.name> | 2026-01-14 10:33:14 -0300 |
|---|---|---|
| committer | Raúl Benencia <id@rbenencia.name> | 2026-01-14 10:33:14 -0300 |
| commit | fc685afbca33ffde08282c43f84f09841d00a715 (patch) | |
| tree | 62fb6c835fa7c7a3e216b7b1a18685458ec5b4f1 | |
| parent | 49849b3a82cf198cb56b836eba4a38635988fd5c (diff) | |
fix: validate break-seconds
| -rw-r--r-- | org-tempus.el | 2 |
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))) |
