aboutsummaryrefslogtreecommitdiff
path: root/chime.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-05 04:57:25 -0500
committerCraig Jennings <c@cjennings.net>2026-05-05 04:57:25 -0500
commit4d3f8fa2b0f08fb9e67cd17240d0d6b93cb86f5f (patch)
tree6eb384abe587465927073ee0784d0d6282efa5f1 /chime.el
parente54041ac630fe31a9968cf41c452feee317a4049 (diff)
downloadchime-4d3f8fa2b0f08fb9e67cd17240d0d6b93cb86f5f.tar.gz
chime-4d3f8fa2b0f08fb9e67cd17240d0d6b93cb86f5f.zip
fix: trim chime--find-soonest-modeline-event docstring to <=80 cols
`make compile' flagged the summary line at 86 chars. I split it across two lines, with the lookahead clause and the return-value sentence on the lines after.
Diffstat (limited to 'chime.el')
-rw-r--r--chime.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/chime.el b/chime.el
index 93f72b1..a9b6d9a 100644
--- a/chime.el
+++ b/chime.el
@@ -1149,8 +1149,9 @@ Returns sorted, deduplicated list of (EVENT TIME-INFO MINUTES-UNTIL) tuples."
(sort upcoming (lambda (a b) (< (nth 2 a) (nth 2 b))))))
(defun chime--find-soonest-modeline-event (events now modeline-lookahead-minutes)
- "Find soonest timed event for modeline from EVENTS within MODELINE-LOOKAHEAD-MINUTES.
-NOW is the current time.
+ "Find soonest timed event for modeline from EVENTS.
+NOW is the current time. Search is limited to events within
+MODELINE-LOOKAHEAD-MINUTES of NOW.
Returns (EVENT TIME-STR MINUTES-UNTIL EVENT-TEXT) or nil if none found."
(let ((soonest-event nil)
(soonest-event-text nil)