diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-17 08:11:15 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-17 08:11:15 +0000 |
| commit | 1ab7c150f3bf25c2ddaaf5d2ab8ce422c80ff5d1 (patch) | |
| tree | 15395d27674a9320f859b2a3ccb566ded54df9a4 | |
| parent | e9006e66f95d025f1d256c132f23aa116825f396 (diff) | |
| download | ruby-1ab7c150f3bf25c2ddaaf5d2ab8ce422c80ff5d1.tar.gz ruby-1ab7c150f3bf25c2ddaaf5d2ab8ce422c80ff5d1.tar.xz ruby-1ab7c150f3bf25c2ddaaf5d2ab8ce422c80ff5d1.zip | |
* 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/trunk@15790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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 8a34dd1ad..dc3dca121 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 |
