              (erase-buffer))
            (if (zerop (apply 'call-process
                              prettier-command nil (list (list :file outputfile) errorfile)
-                             nil (append width-args (list bufferfile))))
+                             nil (append (append prettier-args width-args) (list bufferfile))))
                (progn
                  (call-process-region (point-min) (point-max) "diff" nil patchbuf nil "-n" "-"
                                       outputfile)
                  (prettier--apply-rcs-patch patchbuf)
-                 (message "Applied prettier")
+                 (message "Applied prettier with args `%s'" prettier-args)
                  (if errbuf (prettier--kill-error-buffer errbuf)))
              (message "Could not apply prettier")
              (if errbuf

(defcustom prettier-command "prettier"
  "The 'prettier' command."
  :type 'string
  :group 'prettier)

(defcustom prettier-target-mode

     (delete-file outputfile)))

(provide 'prettier-js)
