]> git.eshelyaron.com Git - emacs.git/commit
Make hideshow.el work with Mhtml mode
authorThien-Thi Nguyen <ttn@gnu.org>
Sat, 31 Oct 2020 02:40:11 +0000 (22:40 -0400)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 31 Oct 2020 02:40:11 +0000 (22:40 -0400)
commit73bc7b543bfad54d50eb15943800dce12834efd6
treeca3f9dd04d2d4d85390b5821aba1b7e6f6d1df63
parent74c45a62e1e48d7c52dc513b6911e65dcc38aa23
Make hideshow.el work with Mhtml mode

Suggested by Ian Williams <norbekian9@gmail.com>.

* lisp/textmodes/mhtml-mode.el: Require ‘pcase’ when compiling.
(mhtml-forward): New func.
* lisp/progmodes/hideshow.el (hs-special-modes-alist):
Add entry for ‘mhtml-mode’.
lisp/progmodes/hideshow.el
lisp/textmodes/mhtml-mode.el