summaryrefslogtreecommitdiff
path: root/misc/ruby-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ruby-mode.el')
-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 8a34dd1adf..dc3dca1210 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -299,7 +299,7 @@ The variable ruby-indent-level controls the amount of indentation.
(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