diff options
author | Juri Linkov <juri@linkov.net> | 2015-06-23 01:45:33 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2015-06-23 01:45:33 +0300 |
commit | d010523177889867cf572ff48e8729b1503ea5a4 (patch) | |
tree | 1eeeea021ef5c4b8e81b4a75cee71ec43f76afad /lisp/simple.el | |
parent | 531125e4c024ca12701608c4516cb9cf993cfad2 (diff) |
* lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
(Bug#20785)
Diffstat (limited to 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 48451aacbd6..0729d8c353e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3318,7 +3318,7 @@ display the error buffer if there were any errors. When called interactively, this is t." (interactive (let (string) (unless (mark) - (error "The mark is not set now, so there is no region")) + (user-error "The mark is not set now, so there is no region")) ;; Do this before calling region-beginning ;; and region-end, in case subprocess output ;; relocates them while we are in the minibuffer. |