Debug log missing modules; remove log! macro

This commit is contained in:
Henrik Lissner 2018-03-24 04:38:05 -04:00
parent 5b80fce905
commit b5db4f1fb6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 5 additions and 11 deletions

View file

@ -79,12 +79,3 @@ interactive session."
(ansi-color-apply-on-region beg end)))
(pop-to-buffer buf)
(goto-char (point-max)))))
;;;###autoload
(defmacro log! (message &rest args)
"Output a debug message if `doom-debug-mode' is non-nil. Otherwise, ignore this."
(when doom-debug-mode
`(message
"LOG: %s"
(propertize (format ,message ,@args)
'face 'font-lock-comment-face))))