[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hideshow minor-mode
From: |
Shiyuan |
Subject: |
hideshow minor-mode |
Date: |
Sun, 14 Oct 2012 20:40:26 -0500 |
Hi, I want to turn-on the hide-show-minor-mode in a user-defined mymode. But it gives me the error: mymode doesn't support hide show minor mode. I have put (require 'hideshow) at the beginning of mymode.el, and also
(hs-minor-mode 1) in the body of the definition of the major mode, and after that
I put (add-to-list 'hs-special-modes-alist '(mymode "{" "}" "/[*/]" nil nil)) in mymode.el.
What else I should do to utilize the hs-minor-mode in mymode? Thanks.
- hideshow minor-mode,
Shiyuan <=
- Re: hideshow minor-mode, Michael Heerdegen, 2012/10/15
- Re: hideshow minor-mode, Shiyuan, 2012/10/15
- Message not available
- Re: hideshow minor-mode, Michael Heerdegen, 2012/10/15
- Re: hideshow minor-mode, Shiyuan, 2012/10/16
- Message not available
- Re: hideshow minor-mode, Michael Heerdegen, 2012/10/16
- Re: hideshow minor-mode, Shiyuan, 2012/10/16
- Message not available
- Re: hideshow minor-mode, Michael Heerdegen, 2012/10/16