From 9ee54fdff75647c09133c7acbd421887dbc4f60a Mon Sep 17 00:00:00 2001 From: Tu Do Date: Wed, 10 Sep 2014 14:00:59 +0700 Subject: [PATCH] Adjust Helm prefix key helm-command-prefix-key is already defined with defcustom in helm-config.el. It must be set before helm-config.el to take effect. With current setting, "C-x c" is used instead of "C-c h" and it conflicts with the guide on homepage. "C-x c" makes it easy to press "C-x C-c" to close Emacs when pressing fast enough. "C-c h" is also originally used for Helm in Prelude. --- modules/prelude-helm.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prelude-helm.el b/modules/prelude-helm.el index 20029de..4c9d776 100644 --- a/modules/prelude-helm.el +++ b/modules/prelude-helm.el @@ -42,7 +42,7 @@ ;; 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' -(defvar helm-command-prefix-key "C-c h") +(setq helm-command-prefix-key "C-c h") (require 'helm-config)