From bb3fc022dd5f0ef7ef34c1147ad70e2c67696ef3 Mon Sep 17 00:00:00 2001 From: Ivan Andrus Date: Sat, 6 Apr 2024 22:28:00 -0500 Subject: [PATCH 1/2] Fix some warnings --- memento-mori.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/memento-mori.el b/memento-mori.el index f22049c..26d9b2b 100644 --- a/memento-mori.el +++ b/memento-mori.el @@ -257,7 +257,7 @@ will replace it and the result will be saved in the variable "The memento mori memento. The string shown in the mode line and/or frame title when `memento-mori-mode' is enabled. This is not meant to be changed -by the user, but can be used in other places such as org-mode +by the user, but can be used in other places such as `org-mode' agendas to display the current momento.") (defun memento-mori--set-value-and-update-display (symbol value) @@ -301,9 +301,9 @@ about the format.") (error "Birth date not set. Try M-x customize-group memento-mori"))) (defun memento-mori--parse-time (value) - "Return your birth time in `encode-time' format. -The birth time is parsed from `memento-mori-birth-date' using -`parse-time-string'. An error is signaled if it is not valid." + "Return time in `encode-time' format. +The time is parsed from VALUE using `parse-time-string'. +An error is signaled if it is not valid." (when (symbolp value) (setq value (symbol-value value))) (let* ((decoded (parse-time-string From f5291a5aa95c21829cc0d44b929177512ac1662a Mon Sep 17 00:00:00 2001 From: Ivan Andrus Date: Sat, 6 Apr 2024 22:42:52 -0500 Subject: [PATCH 2/2] Fix a long line warning --- memento-mori.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memento-mori.el b/memento-mori.el index 26d9b2b..02691ab 100644 --- a/memento-mori.el +++ b/memento-mori.el @@ -261,7 +261,7 @@ by the user, but can be used in other places such as `org-mode' agendas to display the current momento.") (defun memento-mori--set-value-and-update-display (symbol value) - "Function to set display values, so that the display will then be recalculated. + "Function to set display values, so the display will then be recalculated. Sets SYMBOL to VALUE, then calls updates `memento-mori--add-mementos'." (set-default-toplevel-value symbol value) (memento-mori--add-mementos))