Define prelude helm menu entry in its own module

This commit is contained in:
toctan 2014-06-01 13:28:54 +08:00
parent 639cecb759
commit 461a560ddd
2 changed files with 5 additions and 4 deletions

View file

@ -111,9 +111,6 @@
["Eval and replace" prelude-eval-and-replace] ["Eval and replace" prelude-eval-and-replace]
) )
("Navigation"
["Helm" helm-prelude])
("Windows" ("Windows"
["Swap windows" prelude-swap-windows]) ["Swap windows" prelude-swap-windows])

View file

@ -49,7 +49,11 @@
(error (helm-mini)))) (error (helm-mini))))
(eval-after-load 'prelude-mode (eval-after-load 'prelude-mode
'(define-key prelude-mode-map (kbd "C-c h") 'helm-prelude)) '(progn
(define-key prelude-mode-map (kbd "C-c h") 'helm-prelude)
(easy-menu-add-item nil '("Tools" "Prelude")
'("Navigation"
["Helm" helm-prelude]))))
(push "Press <C-c h> to navigate a project in Helm." prelude-tips) (push "Press <C-c h> to navigate a project in Helm." prelude-tips)