Project

General

Profile

Bug #569

emacs21でruby-mode.el

Added by znz (Kazuhiro NISHIYAMA) almost 11 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
[ruby-dev:36328]

Description

=begin
西山和広です。

At Mon, 26 May 2008 15:58:47 +0900,
Kazuhiro NISHIYAMA wrote:

emacs21でruby-mode.elが
File mode specification error: (void-function run-mode-hooks)
となって動きません。

ruby_1_8の方は動かないままのようです。

Index: misc/ruby-mode.el
===================================================================
--- misc/ruby-mode.el (revision 16583)
+++ misc/ruby-mode.el (working copy)
@@ -312,7 +312,9 @@
(set (make-local-variable 'font-lock-syntax-table) ruby-font-lock-syntax-table)
(set (make-local-variable 'font-lock-syntactic-keywords) ruby-font-lock-syntactic-keywords)

  • (run-mode-hooks 'ruby-mode-hook))
  • (if (fboundp 'run-mode-hooks)
  • (run-mode-hooks 'ruby-mode-hook)
  • (run-hooks 'ruby-mode-hook)))

(defun ruby-current-indentation ()
(save-excursion

--
|ZnZ(ゼット エヌ ゼット)
|西山和広(Kazuhiro NISHIYAMA)
=end

History

#1

Updated by matz (Yukihiro Matsumoto) almost 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r19403.
=end

Also available in: Atom PDF