This one was actually pretty difficult. Two new functions are introduced: magithub-confirm-{yes-or-no,y-or-n}-p. These functions are like their standard counterparts, but they're also able to save the relevant git variables. Options for this behavior (don't save, save locally, save globally) are cycled when the prompt is active with universal-prefix-argument (aka C-u).
Note that the C-u is hard-coded for magithub-confirm-y-or-n-p; keymaps don't work the same way in this context. If anybody has a workaround, I'd be happy to merge it 😄
This one was actually pretty difficult. Two new functions are introduced:
magithub-confirm-{yes-or-no,y-or-n}-p
. These functions are like their standard counterparts, but they're also able to save the relevant git variables. Options for this behavior (don't save, save locally, save globally) are cycled when the prompt is active withuniversal-prefix-argument
(akaC-u
).Note that the
C-u
is hard-coded formagithub-confirm-y-or-n-p
; keymaps don't work the same way in this context. If anybody has a workaround, I'd be happy to merge it 😄Related to discussions in #264.