From d70868916476cde3b4a36eced402b629dd27e416 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 10 May 2019 00:25:12 -0400 Subject: [PATCH] emacs: add comment macro --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.20.1