From: matz@... (Yukihiro Matsumoto) Date: 2002-02-01T13:01:03+09:00 Subject: Re: latest ruby-mode.el messing up c++ mode fontification Hi, In message "latest ruby-mode.el messing up c++ mode fontification" on 02/02/01, Brett Williams writes: |Is ruby-mode changing some global fontification resources? If I never |invoke ruby-mode, then the C++ code looks fine... Here's the patch. --- ruby-mode.el 2002/01/25 08:22:11 1.45 +++ ruby-mode.el 2002/02/01 04:00:52 @@ -775,2 +775,4 @@ (make-local-variable 'font-lock-defaults) + (make-local-variable 'font-lock-keywords) + (make-local-variable 'font-lock-syntactic-keywords) (setq font-lock-defaults '((ruby-font-lock-keywords) nil nil))