summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-06-16 22:58:33 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2018-06-16 22:58:33 +0300
commita7350d09eebfe256c3c84413637f6b7371fb2106 (patch)
treef3115b947a4dbd52fed8bafa0569e22ca3ff7692 /lisp/progmodes/ruby-mode.el
parent9740768a757141a3f0bd95ed3970cbd24111e7bd (diff)
downloademacs-a7350d09eebfe256c3c84413637f6b7371fb2106.tar.gz
Fix references to RuboCop in ruby-mode.el
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
-rw-r--r--lisp/progmodes/ruby-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 1f5d8865a73..bed88036eed 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2313,8 +2313,8 @@ See `font-lock-syntax-table'.")
(process-send-eof ruby--flymake-proc))))
(defcustom ruby-flymake-use-rubocop-if-available t
- "Non-nil to use the Rubocop Flymake backend.
-Only takes effect if Rubocop is installed."
+ "Non-nil to use the RuboCop Flymake backend.
+Only takes effect if RuboCop is installed."
:version "26.1"
:type 'boolean
:group 'ruby
@@ -2328,7 +2328,7 @@ Only takes effect if Rubocop is installed."
:safe 'stringp)
(defun ruby-flymake-rubocop (report-fn &rest _args)
- "Rubocop backend for Flymake."
+ "RuboCop backend for Flymake."
(unless (executable-find "rubocop")
(error "Cannot find the rubocop executable"))
@@ -2354,7 +2354,7 @@ Only takes effect if Rubocop is installed."
(when (eq (process-exit-status proc) 127)
;; Not sure what to do in this case. Maybe ideally we'd
;; switch back to ruby-flymake-simple.
- (flymake-log :warning "Rubocop returned status 127: %s"
+ (flymake-log :warning "RuboCop returned status 127: %s"
(buffer-string)))
(goto-char (point-min))
(cl-loop