summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-05-10 00:25:12 -0400
committerAmin Bandali <bandali@gnu.org>2019-05-10 00:25:12 -0400
commitd70868916476cde3b4a36eced402b629dd27e416 (patch)
treef39df1cb1293d6d884e5b014e9baab2c15854bf4
parent29ea9439fb77e85064728d8d36d13d06fc9400cf (diff)
downloadconfigs-d70868916476cde3b4a36eced402b629dd27e416.tar.gz
configs-d70868916476cde3b4a36eced402b629dd27e416.tar.xz
configs-d70868916476cde3b4a36eced402b629dd27e416.zip
emacs: add comment macro
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
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