   (if (listp exp) exp (list exp)))
 
 (defun doom-file-cookie-p (file)
-  "Returns the value of the ;;;###if predicate form in FILE."
+  "Returns the return value of the ;;;###if predicate form in FILE."
   (with-temp-buffer
     (insert-file-contents-literally file nil 0 256)
     (if (and (re-search-forward "^;;;###if " nil t)


(defmacro after! (targets &rest body)
  "A smart wrapper around `with-eval-after-load'. Supresses warnings during
compilation."
  (declare (indent defun) (debug t))
  (unless (and (symbolp targets)
               (memq targets doom-disabled-packages))

  3. A function, list of functions, or body forms to be wrapped in a lambda.

Examples:
    (add-hook! 'some-mode-hook 'enable-something)   (same as `add-hook')
    (add-hook! some-mode '(enable-something and-another))
    (add-hook! '(one-mode-hook second-mode-hook) 'enable-something)
    (add-hook! (one-mode second-mode) 'enable-something)
