When C code between #if 0 and #endif is comment.
Emacs Lisp
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.org
never-comment.el

README.org

never-comment README

ABOUT

Often C programmers type blocks of code between #if 0 and #endif. This code will never be compiled. Therefore some IDE’s display this code as comment. With this module, emacs will also do this.

INSTALLATION

Just put this file in your emacs load-path and place the following lines somewhere in your .emacs init file:

(require 'never-comment)
(never-comment-init)

DISCLAIMER

The code is actually written by Scott Frazer on stackoverflow.com. I took the liberty to put the code on github.com.