branch: elpa/rubocop
commit 322564dd19389dbcf1e25d08d6efce9ecc2df1b2
Author: Andrea Nodari <andrea.nodar...@gmail.com>
Commit: Andrea Nodari <andrea.nodar...@gmail.com>

    Update for RuboCop 0.9 (fixes #1) - update rubocop-on-current-file
---
 rubocop.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rubocop.el b/rubocop.el
index 8101d36..088fb25 100644
--- a/rubocop.el
+++ b/rubocop.el
@@ -90,7 +90,7 @@ Alternatively prompt user for directory."
   (let ((file-name (buffer-file-name (current-buffer))))
     (if file-name
         (compilation-start
-         (concat "rubocop -es " file-name)
+         (concat "rubocop --format emacs " file-name)
          'compilation-mode
          (lambda (arg) (rubocop-buffer-name file-name)))
       (error "Buffer is not visiting a file"))))

Reply via email to