diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ruby-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |