aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ruby-mode.el
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-07 12:57:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-07 12:57:34 +0000
commit29ed2f308ce5cd3d445113a4696487c00624bc1d (patch)
tree614fc54b70ee4f52ef31d95135258e4f8c446a0f /misc/ruby-mode.el
parenta262f71f37c2990265524b715910f416f4f148a3 (diff)
downloadruby-29ed2f308ce5cd3d445113a4696487c00624bc1d.tar.gz
* misc/ruby-mode.el (ruby-mode-variables), misc/ruby-style.el:
show trailing whitespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/ruby-mode.el')
-rw-r--r--misc/ruby-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 0fec8e9cec..aaea3a0d0e 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -297,6 +297,7 @@ Also ignores spaces after parenthesis when 'space."
(defun ruby-mode-variables ()
(set-syntax-table ruby-mode-syntax-table)
+ (setq show-trailing-whitespace t)
(setq local-abbrev-table ruby-mode-abbrev-table)
(make-local-variable 'indent-line-function)
(setq indent-line-function 'ruby-indent-line)