Project

General

Profile

Actions

Bug #569

closed

emacs21でruby-mode.el

Added by znz (Kazuhiro NISHIYAMA) over 16 years ago. Updated over 13 years ago.

Status:
Closed
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

Actions #1

Updated by matz (Yukihiro Matsumoto) over 16 years ago

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

=begin
Applied in changeset r19403.
=end

Actions

Also available in: Atom PDF

Like0
Like0