[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8279: [PATCH] More fixes to prevent hide-show from being confused by
From: |
Dima Kogan |
Subject: |
bug#8279: [PATCH] More fixes to prevent hide-show from being confused by commented-out braces |
Date: |
Fri, 18 Mar 2011 00:33:15 -0700 |
Earlier I submitted some fixes to hideshow.el to improve handling of
braces in comments (bug#8036). These fixes were incomplete and in one
case, incorrect. The attached patch improves hideshow.el further:
1. The previous patch made hs-find-block-beginning quit searching if a brace was
found inside a comment. This patch ignores that match and keeps searching.
2. There were some false positives of (looking-at hs-block-start-regexp) if the
point was at a commented-out brace. This patch wraps all instances of that in a
function to check for comments.
0001-hideshow.el-corrected-improper-handling-of-braces-in.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#8279: [PATCH] More fixes to prevent hide-show from being confused by commented-out braces,
Dima Kogan <=