summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/shadow.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2016-11-01 23:24:33 -0400
committerNoam Postavsky <npostavs@gmail.com>2016-11-06 09:14:12 -0500
commit0b6b8151186e2d8d48aff8182a66aee21a6edb53 (patch)
treec80f91ae1bc61b4390b6b0519be61b6f23caef29 /lisp/emacs-lisp/shadow.el
parentdc152c54f4e44f5f2040883b03f71ff6aa66c893 (diff)
downloademacs-0b6b8151186e2d8d48aff8182a66aee21a6edb53.tar.gz
emacs-0b6b8151186e2d8d48aff8182a66aee21a6edb53.tar.bz2
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 'lisp/emacs-lisp/shadow.el')
0 files changed, 0 insertions, 0 deletions