At Sat, 29 Dec 2001 01:15:08 +0900, matz / ruby-lang.org (Yukihiro Matsumoto) wrote: > |> Will anybody using XEmacs confirms this patch? I'd like to merge it, > |> but I myself do not use XEmacs. > | > |A little patch. > > Thank you. May I ask you what this means? Because `ruby-font-lock-syntactic-keywords' is referred but not defined. I guess it must be. > Or is this additional patch to [ruby-talk:29370]? This. And one more patch is needed, or else it influences the other mode which is used while loading ruby-mode, not ruby-mode itself. --- ruby-mode.el~ Thu Dec 27 00:00:17 2001 +++ ruby-mode.el Sat Dec 29 02:44:29 2001 @@ -704,5 +704,6 @@ An end of a defun is found by moving for ("^\\(=\\)begin\\(\\s \\|$\\)" 1 (7 . nil)) ("^\\(=\\)end\\(\\s \\|$\\)" 1 (7 . nil)))) - (put major-mode 'font-lock-defaults + + (put 'ruby-mode 'font-lock-defaults '((ruby-font-lock-keywords) nil nil nil > p.s. > Japanese is OK for me, of course, Nobu. ;-) May I move it to ruby-dev? Nobu Nakada