summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-15 11:28:08 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-15 11:28:08 +0000
commit8627aea83685339f1dad539ced5c4ad4c77d3d77 (patch)
tree309b030d7506cf75d3f7c507e17a18ba991c59d0 /misc
parent29bb7f877728f5d24cdf3b5fa8c9bb2a10f66347 (diff)
downloadruby-8627aea83685339f1dad539ced5c4ad4c77d3d77.tar.gz
ruby-8627aea83685339f1dad539ced5c4ad4c77d3d77.tar.xz
ruby-8627aea83685339f1dad539ced5c4ad4c77d3d77.zip
merge revision(s) 15790:
* 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] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 25c6b3008..779a52def 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -255,7 +255,7 @@ The variable ruby-indent-level controls the amount of indentation.
(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