emacs: add comment macro
authorAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 04:25:12 +0000 (00:25 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 04:25:12 +0000 (00:25 -0400)
.emacs.d/init.el

index b07c683..c7eac7e 100644 (file)
 (setq use-package-always-defer t)
 (require 'bind-key)
 
+;; comment macro, useful for commenting out multiple sexps at a time
+(defmacro comment (&rest _)
+  "Comment out one or more s-expressions."
+  (declare (indent defun))
+  nil)
+
 (use-package no-littering
   :demand t
   :config