From 241fcc76d6a17833e095e3bec1a4abcb6388483c Mon Sep 17 00:00:00 2001 From: Tu Do Date: Wed, 10 Sep 2014 14:51:53 +0700 Subject: [PATCH] Set prefix key before loading helm-projectile Because helm-projectile loads helm-config, prefix key must also be set before helm-projectile. Comment is added for future reference --- modules/prelude-helm.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/prelude-helm.el b/modules/prelude-helm.el index 4c9d776..c720845 100644 --- a/modules/prelude-helm.el +++ b/modules/prelude-helm.el @@ -38,13 +38,15 @@ (require 'helm) (require 'helm-grep) (require 'helm-files) -(require 'helm-projectile) ;; The default "C-x c" is quite close to "C-x C-c", which quits Emacs. -;; Note: this must be placed before require `helm-config' +;; Note: this must be placed before require `helm-config'. If `helm-projectile' is +;; available, it must also be set before `helm-projectile', since `helm-projectile' +;; loads `helm-config' (setq helm-command-prefix-key "C-c h") (require 'helm-config) +(require 'helm-projectile) (when (executable-find "curl") (setq helm-google-suggest-use-curl-p t))