More fixes to prevent hide-show from being confused by commented-out braces (Bug...
authorDima Kogan <dkogan@cds.caltech.edu>
Sat, 28 May 2011 18:35:29 +0000 (14:35 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 28 May 2011 18:35:29 +0000 (14:35 -0400)
commit5012f24c2a7ca12a298a4bdaf991961282ddc167
tree647a69a6e450d3b82dea8ab1a93923776e942460
parentbf41276f9c9a6534a5deb1b44a5d84d9a30ccb4c
More fixes to prevent hide-show from being confused by commented-out braces (Bug#8279).

* progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
(hs-hide-block-at-point, hs-find-block-beginning)
(hs-already-hidden-p, hs-hide-block, hs-show-block): Use it.
lisp/ChangeLog
lisp/progmodes/hideshow.el