Closed yuzumx closed 6 years ago
Hello:
If my projectile is placed in after-init-hook, do I need to put projectile-rails in projectile-mode-hook?
projectile
after-init-hook
projectile-rails
projectile-mode-hook
like this:
(add-hook 'projectile-mode-hook (lambda () (projectile-rails-global-mode projectilexf-mode)))
The above code is copied from purcell/emacs.d.
Thank you
Hi. Since there is a global mode for projectile-rails you should be fine calling projectile-rails-global-mode outside of the projectile-rails-mode-hook. Let me know otherwise.
projectile-rails-global-mode
projectile-rails-mode-hook
Hello:
If my
projectile
is placed inafter-init-hook
, do I need to putprojectile-rails
inprojectile-mode-hook
?like this:
The above code is copied from purcell/emacs.d.
Thank you