Skip to content

Commit

Permalink
Fix warning about unbound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Andrus authored and gvol committed Apr 7, 2024
1 parent f095bc2 commit 16d3b55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions memento-mori.el
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ This is a floating point number based on `memento-mori-birth-date'."
(?p . ,(truncate percent)))
'ignore)))

;; Forward declare initial-scratch-message which should be defined at run time
(defvar initial-scratch-message)

(defun memento-mori--update ()
"Update `memento-mori-string' based on the current time."
(let ((has-set-new (not (eq memento-mori-mementos
Expand Down

0 comments on commit 16d3b55

Please sign in to comment.