customized for hs-minor-mode.