0

Using emacs 25.2.2 on Kubuntu 18.04.

Using list-packages I installed evil. Using customize-variable I added (evil-mode t) in my ~/.emacs.d/init.el file.

But still when I restart emacs, there is no trace of evil mode! list-packages shows evil as an installed package. But there are no evil commands available with M-x and evil-mode is not enabled anywhere.

What is going on here? How do I set things right?

Drew
  • 75,699
  • 9
  • 109
  • 225
deshmukh
  • 1,852
  • 13
  • 29
  • 1
    What if you don't do it that way but insert `(evil-mode)` in your init file after `(package-initialize)`? – wasamasa Jul 10 '18 at 07:19
  • @wasamasa Thanks! That did work! But why is this happening? I had done everything as mentioned in the documentation. – deshmukh Jul 10 '18 at 07:34
  • 2
    Possible duplicate of [Why do I have to add each package to load-path? (or Problem with require 'package in my init file)](https://emacs.stackexchange.com/questions/5828/why-do-i-have-to-add-each-package-to-load-path-or-problem-with-require-packag) – Drew Jul 10 '18 at 13:40
  • No idea, I've never used that feature of customize and don't know if it's even supposed to work this way out of the box. – wasamasa Jul 10 '18 at 18:54

0 Answers0