[Init] Catch error when activation of projectile fails
This commit is contained in:
parent
817228a7c1
commit
4bf4e106e6
5
init.el
5
init.el
@ -117,12 +117,11 @@
|
|||||||
sml/setup
|
sml/setup
|
||||||
ivy-mode
|
ivy-mode
|
||||||
which-key-mode
|
which-key-mode
|
||||||
eyebrowse-mode))
|
eyebrowse-mode
|
||||||
|
projectile-mode))
|
||||||
(with-demoted-errors "Cannot activate mode: %s"
|
(with-demoted-errors "Cannot activate mode: %s"
|
||||||
(funcall mode +1)))
|
(funcall mode +1)))
|
||||||
|
|
||||||
(projectile-mode +1)
|
|
||||||
|
|
||||||
(unless on-windows
|
(unless on-windows
|
||||||
(with-demoted-errors "Error: %s"
|
(with-demoted-errors "Error: %s"
|
||||||
(pdf-tools-install)))
|
(pdf-tools-install)))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user