branch: elpa/rubocop commit b921bec8cc10dd054ac33e8e6ac1afd67ce387b0 Merge: 8e9ec29 322564d Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Merge pull request #2 from nodo/master Update options for calling rubocop in `rubocop-run-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"))))