зеркало из https://github.com/github/ruby.git
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a4394e3f49
Коммит
c97735b53c
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче