[Top][All Lists]

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

Re: using auctex key bindings in C/C++ mode

From: Stefan Monnier
Subject: Re: using auctex key bindings in C/C++ mode
Date: Sun, 26 Feb 2017 23:40:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> I'd like to use C-c C-c for compilation and C; for commenting out code
> in C/C++.

Notice that M-; is the standard binding for commenting out code (and
various other comment operations).  That should already work in all
major modes and should hence free C-c C-c and C-; in those modes where
they redundantly use it for commenting out code (those bindings
typically date back to Emacs≤20 where M-; was much more limited).


reply via email to

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