branch: elpa/hyperdrive commit 17dd99b08fa828b216836780f3182a336482d946 Author: Joseph Turner <jos...@ushin.org> Commit: Joseph Turner <jos...@ushin.org>
Change: (h/mark-as-safe) Don't force prompt t when selecting drive This change allows us to (call-interactively #'h/mark-as-safe) inside other functions in order to reuse the mark-safe-p prompt logic. It also means that the drive for the current entry will always be used when marking a drive as safe. --- hyperdrive.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperdrive.el b/hyperdrive.el index b9380ffbc1..fa1319d7ac 100644 --- a/hyperdrive.el +++ b/hyperdrive.el @@ -155,7 +155,7 @@ hyperdrive, the new hyperdrive's petname will be set to SEED." "Mark HYPERDRIVE as safe according to SAFEP. Interactively, prompt for hyperdrive and action." (interactive - (pcase-let* ((hyperdrive (h/complete-hyperdrive :force-prompt t)) + (pcase-let* ((hyperdrive (h/complete-hyperdrive)) ((cl-struct hyperdrive (etc (map safep))) hyperdrive) (mark-safe-p (pcase (read-answer