Load hideshow when folding system is autoloaded

This commit is contained in:
Henrik Lissner 2017-06-10 18:18:34 +02:00
parent de8269acf8
commit 2e1e908f57
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -15,6 +15,7 @@
(unless (bound-and-true-p hs-minor-mode)
(hs-minor-mode +1)))
(require 'hideshow)
(advice-add #'hs-toggle-hiding :before #'+evil--ensure-modes)
(advice-add #'hs-hide-block :before #'+evil--ensure-modes)
(advice-add #'hs-hide-level :before #'+evil--ensure-modes)