help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make buffer be c++ mode?


From: John Mastro
Subject: Re: make buffer be c++ mode?
Date: Sat, 23 May 2015 15:14:20 -0700

Jai Dayal <dayalsoap@gmail.com> wrote:
> I have a file that I've opened with a .cu extension. It's C++ code written
> for Cuda. How do I force Emacs to display the buffer as if it were C mode?
> I just want to do it just for this buffer.

M-x c++-mode RET should do the trick.

-- 
john



reply via email to

[Prev in Thread] Current Thread [Next in Thread]