From a2cf50dfc492de5079ac42e500198c4fa78574ec Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sat, 6 Nov 2021 20:31:33 +0300 Subject: [PATCH] fix: should have fixed #1 Apparently, Emacs 28 has less rigid requirements on the defclass macro and just ignored the malformed SLOTS arguments. --- pomm.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pomm.el b/pomm.el index 7829d8e..23b95f9 100644 --- a/pomm.el +++ b/pomm.el @@ -502,7 +502,7 @@ minor mode." pomm-number-of-periods))) (defclass pomm--transient-current (transient-suffix) - (transient :initform t) + ((transient :initform t)) "A transient class to display the current state of the timer.") (cl-defmethod transient-init-value ((_ pomm--transient-current)) @@ -553,7 +553,7 @@ KIND is the same as in `pomm--state'" 'face 'success)))))) (defclass pomm--transient-history (transient-suffix) - (transient :initform t) + ((transient :initform t)) "A transient class to display the history of the pomodoro timer.") (cl-defmethod transient-init-value ((_ pomm--transient-history))