XEMACS Syntax Highlighting with CUDA

I did this once by forcing xemacs to syntax highlight a cuda files like a c++ files, but I can’t find the page I read it on. I’ve searched everywhere.

Anyone know the lisp command to add to my custom.el file for .cu files to be treated like .cpp files?

Thanks,
Craig

Try something like

(setq auto-mode-alist (append

                  '(("\.cu$" . c++-mode))

                    auto-mode-alist))

-rpl

Perfect! Thanks very much.