 ;; Provides syntax highlighting, indentation, and editing commands for
 ;; Markdown files.
 (use-package markdown-mode
-  :if (radian-package-enabled-p 'markdown-mode)
   :defer t)
 
 ;; Provides the `markdown-toc-generate-toc' command to generate a
 ;; table of contents for a Markdown file.
 (use-package markdown-toc
-  :if (radian-package-enabled-p 'markdown-mode 'markdown-toc)
+  :dependencies (markdown-mode)
   :defer t
   :config
 


;; Sorts M-x completions by usage.
(use-package smex
  :if (radian-package-enabled-p 'smex)
  :defer t
  :bind (;; Use smex for M-x.
         ("M-x" . smex)))

;; Provides an enhanced version of smex that uses Helm for completion.
(use-package helm-smex
  :if (radian-package-enabled-p 'helm 'smex 'helm-smex)
  :defer t
  :bind (;; Use helm-smex for M-x.
         ("M-x" . helm-smex)))

;; Makes Emacs into a real Clojure IDE by providing a mountain of
;; automated refactoring tools.
(use-package clj-refactor
  :dependencies (clojure-mode cider yasnippet)
  :defer t
  :init

