We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31570b commit 22322f5Copy full SHA for 22322f5
magit-stgit.el
@@ -200,7 +200,10 @@ PROMPT."
200
region
201
(and use-marks
202
(magit-stgit-patches-sorted magit-stgit-marked-patches))
203
- (list (or (and use-point (magit-section-when stgit-patch))
+ (list (or (and use-point
204
+ (if (fboundp 'magit-section-value-if)
205
+ (magit-section-value-if 'stgit-patch)
206
+ (magit-section-when stgit-patch)))
207
(and prompt (magit-stgit-read-patch prompt require-match)))))))
208
209
;;; Marking
0 commit comments