                     (load ,(expand-file-name "core.el" doom-core-dir)))
                   (doom-package-outdated-p ',pkg)))
               futures))
-      (append (delq nil (mapcar #'doom-package-outdated-p elpa-pkgs))
-              (delq nil (mapcar #'async-get (reverse futures)))))))
+      (delq nil
+            (append (mapcar #'doom-package-outdated-p elpa-pkgs)
+                    (mapcar #'async-get (reverse futures)))))))
 
 ;;;###autoload
 (defun doom-get-orphaned-packages ()

;;;###autoload
(defun doom-get-depending-on (name)
  "Return a list of packages that depend on the package named NAME."
  (doom-initialize)
  (when-let* ((desc (cadr (assq name package-alist))))
    (mapcar #'package-desc-name (package--used-elsewhere-p desc nil t))))

;;;###autoload
(defun doom-get-dependencies-for (name &optional only)
  "Return a list of dependencies for a package."
  (doom-initialize)
  (package--get-deps name only))

;;;###autoload



;;
;; Batch/interactive commands
;;

;;;###autoload
(defun doom//packages-install ()
  "Interactive command for installing missing packages."
  (interactive)
  (message! "Looking for packages to install...")
  (let ((packages (doom-get-missing-packages)))
    (cond ((not packages)
           (message! (green "No packages to install!")))
