branch: elpa/magit commit 94002127748cc47841723a379b97f0615259c25e Author: gemmaro <gemmaro....@gmail.com> Commit: gemmaro <gemmaro....@gmail.com>
magit-remote-prune-refspecs: Remove redundant "or" from prompt * lisp/magit-remote.el (magit-remote-prune-refspecs): The magit-read-char-case macro now automatically formats prompt messages in natural English and adds "or" for the last entry. This update removes the redundant "or" from the prompt message. --- lisp/magit-remote.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/magit-remote.el b/lisp/magit-remote.el index 8102c4d364b..03df57aaa4d 100644 --- a/lisp/magit-remote.el +++ b/lisp/magit-remote.el @@ -199,7 +199,7 @@ the now stale refspecs. Other stale branches are not removed." variable)) (?r "[r]emove remote" (magit-call-git "remote" "rm" remote)) - (?a "or [a]abort" + (?a "[a]abort" (user-error "Abort"))) (if (if (length= stale 1) (pcase-let ((`(,refspec . ,refs) (car stale)))