I have a problem with my .emacs file: everything loads fine, but one minor mode does not load.
Here is the code:
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") 1)
(package-initialize)
(add-to-list 'load-path "~/.emacs.d/")
(load "macros")
(load-theme 'zenburn 1)
(set-language-environment "UTF-8")
(savehist-mode 1)
(windmove-default-keybindings 'meta)
(electric-indent-mode -1)
(hl-sexp-mode 1)
(setq TeX-PDF-mode t)
When emacs opens, hl-sexp-mode is disabled, but when I run eval-buffer on the .emacs file, the mode is activated.
What is wrong?