aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git-email.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-email.el b/git-email.el
index 603adfd..ee3b2bf 100644
--- a/git-email.el
+++ b/git-email.el
@@ -172,7 +172,7 @@ If none of the functions return non-nil value,
(or (string-match-p "\\.patch$" file)
(string-match-p "\\.diff$" file)))
file
- (error "Not a valid patch!")))
+ (user-error "Not a valid patch!")))
(defun git-email--dired-files ()
"Return list of filenames for marked files in `dired'.