             (configuration-layer//load-layer-files layer '("funcs.el"
                                                            "config.el"))))
         (setq helm-spacemacs-all-packages (configuration-layer/get-packages
-                                           helm-spacemacs-all-layers)))))
+                                           helm-spacemacs-all-layers))
+        (setq helm-spacemacs-all-pre-extensions
+              (configuration-layer/get-extensions helm-spacemacs-all-layers t))
+        (setq helm-spacemacs-all-post-extensions
+              (configuration-layer/get-extensions helm-spacemacs-all-layers)))))
 
 ;;;###autoload
 (defun helm-spacemacs ()


(defvar helm-spacemacs-all-packages '()
  "Hash table of all packages in all layers.")

;;;###autoload
(define-minor-mode helm-spacemacs-mode

(defun helm-spacemacs//package-action-goto-init-func (candidate)
  "Open the file `packages.el' and go to the init function."
  (save-match-data
    (string-match "^(\\(.+\\))\s\\(.+\\):\s\\(.+\\)$" candidate)
    (let* ((layer (match-string 1 candidate))
           (type (match-string 2 candidate))
           (package (match-string 3 candidate))
           (path (file-name-as-directory
                  (concat (ht-get configuration-layer-paths (intern layer))
                          layer)))
           (filename (cond ((string-equal "package" type)
                            (concat path "packages.el"))
                           (t (concat path "extensions.el")))))
      (find-file filename)
      (goto-char (point-min))
      (re-search-forward (format "init-%s" package))
