What is the preferred way to comment out sexps in elisp code? I have been wrapping my sexps in (if nil ...) so far.
C-M-@ M-; comments current sexp.
C-M-@ stays for mark-sexp and M-; knows how to correctly comment out a region, taking the current mode into account. Commands to mark objects are described here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With