From: nobu.nokada@... Date: 2001-12-29T14:54:31+09:00 Subject: [ruby-talk:29618] Re: XEmacs problems with ruby-mode.el At Sat, 29 Dec 2001 09:35:49 +0900, Le Wang wrote: > > (setq major-mode 'ruby-mode) > > line # 186 > > I don't think The last patch is necessary. Since the line is in the (defun ruby-mode), major-mode isn't set to 'ruby-mode while loading/evaling ruby-mode.el. At the moment, major-mode is still existing buffers major mode. You can confirm this, by typing uppercase word in the buffer which was active when ruby-mode was loaded. The word would seem font-lock-type-face(constants for ruby-mode). -- Nobu Nakada