diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | misc/ruby-mode.el | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Mon Mar 17 17:11:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@ruby-lang.org> * configure.in: unset GREP_OPTIONS. [ruby-core:15918] diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index b9cd9e313a..601f3a699d 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 |