mlf176f2/fold-dwim-org — pull request #2 by ThibautVerron (2013-11-13 09:42:41+00:00)
Title: Strict folding for folding.el + failsafe for other modes

Hey,

The function should-fold-p was still not called out of hs-minor-mode. I also improved the test for folding.el, it turns out there was a ready-to-use function for our test.

I also added the failsafe code I was suggesting for TeX-fold, outline-minor-mode and nxml, so that "strict" doesn't mean "disabled" for these modes.