diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-07-22 07:17:09 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-07-22 07:17:09 -0700 |
commit | bcae92b442ab909e633a838d5f83bcf8185b2784 (patch) | |
tree | eb99288f44e6e581bba5f6f4750fc63c24416481 | |
parent | ee8eec119f224725ab5022240ebd21407a86aa21 (diff) | |
download | mailscripts-bcae92b442ab909e633a838d5f83bcf8185b2784.tar.gz |
don't call completing-read when there are no completions
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r-- | mailscripts.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mailscripts.el b/mailscripts.el index d31223a..703f86e 100644 --- a/mailscripts.el +++ b/mailscripts.el @@ -213,9 +213,8 @@ git-format-patch(1)." (nil (user-error "Please customize variable `mailscripts-project-library'.")))) - (branch (completing-read - "Branch name (or leave blank to apply to current HEAD): " - nil))) + (branch (read-from-minibuffer + "Branch name (or leave blank to apply to current HEAD): "))) (apply f repo branch args))) (provide 'mailscripts) |