aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNoam Postavsky2016-11-01 23:24:33 -0400
committerNoam Postavsky2016-11-06 09:14:12 -0500
commit0b6b8151186e2d8d48aff8182a66aee21a6edb53 (patch)
treec80f91ae1bc61b4390b6b0519be61b6f23caef29 /src
parentdc152c54f4e44f5f2040883b03f71ff6aa66c893 (diff)
downloademacs-0b6b8151186e2d8d48aff8182a66aee21a6edb53.tar.gz
emacs-0b6b8151186e2d8d48aff8182a66aee21a6edb53.zip
Fix python-mode hideshow regexp
2015-02-07 "Fix hideshow integration[...]" changed the regexp added to `hs-special-modes-alist' so that it worked when not searching from the beginning of the line. However, this allows matching tokens ending in "def" or "class", not just those keywords. This results in an infinite loop in hs-hide-all (Bug #24815). * lisp/progmodes/python.el (python-mode): Add symbol boundaries around the def|class matching part of the regexp added to hs-special-modes-alist.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions