/comment-or-uncomment-sexp

Emacs-lisp command for inteligently commenting and commenting the sexp under point.

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

comment-or-uncomment-sexp

Emacs-lisp command for inteligently commenting and commenting the sexp under point.

For more details and visual demonstration see my blog post about it.

To make it easier to use, consider binding it:

(global-set-key (kbd "C-M-;") #'comment-or-uncomment-sexp)