path: root/misc/ruby-mode.el
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-26 09:24:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-26 09:24:31 +0000
commit00ae12834652655f9d9cf96728d1ef44bd90ef6c (patch)
tree000cb25dde2e3c70532a3472f075f162f7ec8323 /misc/ruby-mode.el
parent3a5c011b8e1517b2ca31c56f54fda77f22b77700 (diff)
* misc/ruby-mode.el: safe custimizable variables.
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/ruby-mode.el')
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 1cec76aeef..39fc4a6257 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -168,19 +168,23 @@
(defcustom ruby-indent-tabs-mode nil
"*Indentation can insert tabs in ruby mode if this is non-nil."
:type 'boolean :group 'ruby)
+(put 'ruby-indent-tabs-mode 'safe-local-variable 'booleanp)
(defcustom ruby-indent-level 2
"*Indentation of ruby statements."
:type 'integer :group 'ruby)
+(put 'ruby-indent-level 'safe-local-variable 'integerp)
(defcustom ruby-comment-column 32
"*Indentation column of comments."
:type 'integer :group 'ruby)
+(put 'ruby-comment-column 'safe-local-variable 'integerp)
(defcustom ruby-deep-arglist t
"*Deep indent lists in parenthesis when non-nil.
Also ignores spaces after parenthesis when 'space."
:group 'ruby)
+(put 'ruby-deep-arglist 'safe-local-variable 'booleanp)
(defcustom ruby-deep-indent-paren '(?\( ?\[ ?\] t)
"*Deep indent lists in parenthesis when non-nil. t means continuous line.