mirror of
https://github.com/vale981/pomm.el
synced 2025-03-04 17:21:43 -05:00
fix: should have fixed #1
Apparently, Emacs 28 has less rigid requirements on the defclass macro and just ignored the malformed SLOTS arguments.
This commit is contained in:
parent
ff590c6fa7
commit
a2cf50dfc4
1 changed files with 2 additions and 2 deletions
4
pomm.el
4
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))
|
||||
|
|
Loading…
Add table
Reference in a new issue