* lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.