Skip to content
Merged
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
5 changes: 4 additions & 1 deletion calfw-blocks.el
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,9 @@ is added at the beginning of a block to indicate it is the beginning."
(push overlay ols)))))
(setf (cfw:dest-today-ol dest) ols)))

(defvar cfw:highlight-today t
"Variable to control whether today is rendered differently than other days.")

(defun cfw:cp-update (component)
"[internal] Clear and re-draw the component content."
(let* ((buf (cfw:cp-get-buffer component))
Expand All @@ -1045,7 +1048,7 @@ is added at the beginning of a block to indicate it is the beginning."
component)))
(if (eq (cfw:component-view component) 'block-week)
(calfw-blocks-dest-ol-today-set dest)
(cfw:dest-ol-today-set dest))
(when cfw:highlight-today (cfw:dest-ol-today-set dest)))
(cfw:cp-set-selected-date
component (cfw:component-selected component))
(cfw:dest-after-update dest)
Expand Down