POV-Ray : Newsgroups : povray.unix : pov-mode is not working in new emacs. help! : The solution (Was: pov-mode is not working in new emacs. help!) Server Time
28 Jul 2024 18:13:40 EDT (-0400)
  The solution (Was: pov-mode is not working in new emacs. help!)  
From: Nieminen Juha
Date: 27 Aug 1999 09:34:01
Message: <37c693c9@news.povray.org>
After much searching and trying, I finally got the solution. Just before
the line:

  (run-hooks 'pov-mode-hook))

add these two lines:

  (make-local-variable 'font-lock-defaults)
  (setq font-lock-defaults '(pov-font-lock-keywords))

  Now it's fontifying ok.
  Phew!

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.