ruby-changes:4300
From: ko1@a...
Date: Mon, 17 Mar 2008 17:11:39 +0900 (JST)
Subject: [ruby-changes:4300] nobu - Ruby:r15790 (trunk, ruby_1_8): * misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
nobu 2008-03-17 17:11:15 +0900 (Mon, 17 Mar 2008)
New Revision: 15790
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/misc/ruby-mode.el
trunk/ChangeLog
trunk/misc/ruby-mode.el
Log:
* misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
of calling `run-hooks' directly to run the mode hook. patch from
Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/misc/ruby-mode.el?r1=15790&r2=15789&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=15790&r2=15789&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15790&r2=15789&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/misc/ruby-mode.el?r1=15790&r2=15789&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15789)
+++ ChangeLog (revision 15790)
@@ -1,3 +1,9 @@
+Mon Mar 17 17:11:13 2008 Nobuyoshi Nakada <nobu@r...>
+
+ * misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
+ of calling `run-hooks' directly to run the mode hook. patch from
+ Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915]
+
Mon Mar 17 16:41:08 2008 Nobuyoshi Nakada <nobu@r...>
* configure.in: unset GREP_OPTIONS. [ruby-core:15918]
Index: misc/ruby-mode.el
===================================================================
--- misc/ruby-mode.el (revision 15789)
+++ misc/ruby-mode.el (revision 15790)
@@ -299,7 +299,7 @@
(make-local-variable 'before-save-hook)
(add-hook 'before-save-hook 'ruby-mode-set-encoding)
- (run-hooks 'ruby-mode-hook))
+ (run-mode-hooks 'ruby-mode-hook))
(defun ruby-current-indentation ()
(save-excursion
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog (revision 15789)
+++ ruby_1_8/ChangeLog (revision 15790)
@@ -1,3 +1,9 @@
+Mon Mar 17 17:11:13 2008 Nobuyoshi Nakada <nobu@r...>
+
+ * misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
+ of calling `run-hooks' directly to run the mode hook. patch from
+ Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915]
+
Mon Mar 17 16:41:08 2008 Nobuyoshi Nakada <nobu@r...>
* configure.in: unset GREP_OPTIONS. [ruby-core:15918]
Index: ruby_1_8/misc/ruby-mode.el
===================================================================
--- ruby_1_8/misc/ruby-mode.el (revision 15789)
+++ ruby_1_8/misc/ruby-mode.el (revision 15790)
@@ -255,7 +255,7 @@
(make-local-variable 'add-log-current-defun-function)
(setq add-log-current-defun-function 'ruby-add-log-current-method)
- (run-hooks 'ruby-mode-hook))
+ (run-mode-hooks 'ruby-mode-hook))
(defun ruby-current-indentation ()
(save-excursion
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/