help-gnu-emacs
[Top][All Lists]
Advanced

[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. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]