From: Amin Bandali Date: Fri, 10 May 2019 04:25:12 +0000 (-0400) Subject: emacs: add comment macro X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/d70868916476cde3b4a36eced402b629dd27e416?ds=sidebyside emacs: add comment macro --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index b07c683..c7eac7e 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -113,6 +113,12 @@ (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