diff options
| author | Dmitry Gutov | 2018-12-25 17:32:10 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2018-12-25 17:32:10 +0200 |
| commit | e533848dd35426f8328f3d6e290ee5c08a776553 (patch) | |
| tree | e585416c84be7afa92be649719c679c7786496bc | |
| parent | a361cc88a15e9c39f17145f9acd1ea4a8ca70461 (diff) | |
| download | emacs-e533848dd35426f8328f3d6e290ee5c08a776553.tar.gz emacs-e533848dd35426f8328f3d6e290ee5c08a776553.zip | |
; Documentation updates
| -rw-r--r-- | etc/NEWS | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 5 |
2 files changed, 9 insertions, 1 deletions
| @@ -506,6 +506,11 @@ Control whether Flymake starts checking the buffer on save. | |||
| 506 | This enables more efficient backends. See the docstring of | 506 | This enables more efficient backends. See the docstring of |
| 507 | 'flymake-diagnostic-functions' or the Flymake manual for details. | 507 | 'flymake-diagnostic-functions' or the Flymake manual for details. |
| 508 | 508 | ||
| 509 | ** Ruby | ||
| 510 | |||
| 511 | *** The Rubocop Flymake diagnostic function will only run Lint cops if | ||
| 512 | it can't find the config file. | ||
| 513 | |||
| 509 | ** Package | 514 | ** Package |
| 510 | 515 | ||
| 511 | *** New function 'package-get-version' lets packages query their own version. | 516 | *** New function 'package-get-version' lets packages query their own version. |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 2a50374765c..351dac2f852 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -2301,7 +2301,10 @@ It will be properly highlighted even when the call omits parens.") | |||
| 2301 | 2301 | ||
| 2302 | (defcustom ruby-flymake-use-rubocop-if-available t | 2302 | (defcustom ruby-flymake-use-rubocop-if-available t |
| 2303 | "Non-nil to use the RuboCop Flymake backend. | 2303 | "Non-nil to use the RuboCop Flymake backend. |
| 2304 | Only takes effect if RuboCop is installed." | 2304 | Only takes effect if RuboCop is installed. |
| 2305 | |||
| 2306 | If there is no Rubocop config file, Rubocop will be passed a flag | ||
| 2307 | '--lint' to only show syntax errors and important problems." | ||
| 2305 | :version "26.1" | 2308 | :version "26.1" |
| 2306 | :type 'boolean | 2309 | :type 'boolean |
| 2307 | :safe 'booleanp) | 2310 | :safe 'booleanp) |