diff options
author | Amin Bandali <bandali@gnu.org> | 2019-05-10 00:25:12 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-05-10 00:25:12 -0400 |
commit | d70868916476cde3b4a36eced402b629dd27e416 (patch) | |
tree | f39df1cb1293d6d884e5b014e9baab2c15854bf4 | |
parent | 29ea9439fb77e85064728d8d36d13d06fc9400cf (diff) | |
download | configs-d70868916476cde3b4a36eced402b629dd27e416.tar.gz configs-d70868916476cde3b4a36eced402b629dd27e416.tar.xz configs-d70868916476cde3b4a36eced402b629dd27e416.zip |
emacs: add comment macro
-rw-r--r-- | .emacs.d/init.el | 6 |
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 |