There's a small nuance that's been bugging me for a while, namely that I frequently type #inclued
instead of #include
. If it wasn't obvious, I program a lot of C and C++. That typo has wrecked countless builds and consumed time that would have been better spent drinking coffee or surfing stackoverflow. Surely emacs can be helpful and rectify my mistakes as I type (in cc-mode
only, of course). But how?
Googling and searching stackoverflow didn't provide any answers.