summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
commita05871e9187ac2a31fea16ee04743ac12e1ead97 (patch)
tree000cb25dde2e3c70532a3472f075f162f7ec8323
parent30ceb871f7e592e5be6b7fb64fb35324fadcc859 (diff)
downloadruby-a05871e9187ac2a31fea16ee04743ac12e1ead97.tar.gz
ruby-a05871e9187ac2a31fea16ee04743ac12e1ead97.tar.xz
ruby-a05871e9187ac2a31fea16ee04743ac12e1ead97.zip
* misc/ruby-mode.el: safe custimizable variables.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--misc/ruby-mode.el4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 92b620a4d..7f6ed92c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 26 18:24:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * misc/ruby-mode.el: safe custimizable variables.
+
Fri Sep 26 17:37:18 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* include/ruby/ruby.h (rb_mPrecision): removed.
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 1cec76aee..39fc4a625 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.