[前][次][番号順一覧][スレッド一覧]

ruby-changes:8058

From: nobu <ko1@a...>
Date: Fri, 26 Sep 2008 18:24:58 +0900 (JST)
Subject: [ruby-changes:8058] Ruby:r19582 (trunk, ruby_1_8): * misc/ruby-mode.el: safe custimizable variables.

nobu	2008-09-26 18:24:31 +0900 (Fri, 26 Sep 2008)

  New Revision: 19582

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19582

  Log:
    * misc/ruby-mode.el: safe custimizable variables.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/misc/ruby-mode.el
    trunk/ChangeLog
    trunk/misc/ruby-mode.el

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19581)
+++ ChangeLog	(revision 19582)
@@ -1,3 +1,7 @@
+Fri Sep 26 18:24:28 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* misc/ruby-mode.el: safe custimizable variables.
+
 Fri Sep 26 17:37:18 2008  Yuki Sonoda (Yugui)  <yugui@y...>
 
 	* include/ruby/ruby.h (rb_mPrecision): removed.
Index: misc/ruby-mode.el
===================================================================
--- misc/ruby-mode.el	(revision 19581)
+++ misc/ruby-mode.el	(revision 19582)
@@ -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.
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 19581)
+++ ruby_1_8/ChangeLog	(revision 19582)
@@ -1,3 +1,7 @@
+Fri Sep 26 18:24:28 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* misc/ruby-mode.el: safe custimizable variables.
+
 Wed Sep 24 14:40:21 2008  NAKAMURA Usaku  <usa@r...>
 
 	* lib/tmpdir.rb: setup buffer with nul characters instead of spaces.
Index: ruby_1_8/misc/ruby-mode.el
===================================================================
--- ruby_1_8/misc/ruby-mode.el	(revision 19581)
+++ ruby_1_8/misc/ruby-mode.el	(revision 19582)
@@ -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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]