vendredi 22 août 2014

read *.cl files with Emacs


To associate *.cl files as c-mode, you have to add this line to your .emacs file:

(add-to-list 'auto-mode-alist '("\\.cl$" . c-mode))


Now you can read your opencl files with emacs like any standard c file .

enjoy.

Aucun commentaire: