mirror of
https://github.com/SqrtMinusOne/pomm.el.git
synced 2025-12-10 14:43:03 +03:00
fix: magit/magit#4563
Should fix the issue with wrongly redefining a method for transient-switch. Also, update the minimum transient version.
This commit is contained in:
parent
2b58c3cad0
commit
596eed778f
1 changed files with 3 additions and 3 deletions
6
pomm.el
6
pomm.el
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
;; Author: Korytov Pavel <thexcloud@gmail.com>
|
;; Author: Korytov Pavel <thexcloud@gmail.com>
|
||||||
;; Maintainer: Korytov Pavel <thexcloud@gmail.com>
|
;; Maintainer: Korytov Pavel <thexcloud@gmail.com>
|
||||||
;; Version: 0.1.3
|
;; Version: 0.1.4
|
||||||
;; Package-Requires: ((emacs "27.1") (alert "1.2") (seq "2.22") (transient "0.2.0"))
|
;; Package-Requires: ((emacs "27.1") (alert "1.2") (seq "2.22") (transient "0.3.0"))
|
||||||
;; Homepage: https://github.com/SqrtMinusOne/pomm.el
|
;; Homepage: https://github.com/SqrtMinusOne/pomm.el
|
||||||
|
|
||||||
;; This file is NOT part of GNU Emacs.
|
;; This file is NOT part of GNU Emacs.
|
||||||
|
|
@ -623,7 +623,7 @@ minor mode."
|
||||||
(oset obj value
|
(oset obj value
|
||||||
pomm-reset-context-on-iteration-end))
|
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."
|
"Toggle the switch on or off."
|
||||||
(setq pomm-reset-context-on-iteration-end
|
(setq pomm-reset-context-on-iteration-end
|
||||||
(not pomm-reset-context-on-iteration-end)))
|
(not pomm-reset-context-on-iteration-end)))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue