Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Should fix the issue with wrongly redefining a method for
transient-switch.

Also, update the minimum transient version.
  • Loading branch information
SqrtMinusOne committed Dec 19, 2021
1 parent 2b58c3c commit 596eed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pomm.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

;; Author: Korytov Pavel <[email protected]>
;; Maintainer: Korytov Pavel <[email protected]>
;; Version: 0.1.3
;; Package-Requires: ((emacs "27.1") (alert "1.2") (seq "2.22") (transient "0.2.0"))
;; Version: 0.1.4
;; Package-Requires: ((emacs "27.1") (alert "1.2") (seq "2.22") (transient "0.3.0"))
;; Homepage: https://github.com/SqrtMinusOne/pomm.el

;; This file is NOT part of GNU Emacs.
Expand Down Expand Up @@ -623,7 +623,7 @@ minor mode."
(oset obj value
pomm-reset-context-on-iteration-end))

(cl-defmethod transient-infix-read ((_ transient-switch))
(cl-defmethod transient-infix-read ((_ pomm--set-context-on-iteration-end-infix))
"Toggle the switch on or off."
(setq pomm-reset-context-on-iteration-end
(not pomm-reset-context-on-iteration-end)))
Expand Down

0 comments on commit 596eed7

Please sign in to comment.