tags 24815 patch quit gilles.naulin@laposte.net writes: > gives > "\\s-*\\(?:def\\|class\\)\\>" in version 25.1 > instead of > "^\\s-*\\(?:def\\|class\\)\\>" in version 24.5 > > if I change it by "^\\s-*\\(?:def\\|class\\)\\>" or by > "\\_<\\(?:def\\|class\\)\\_>" > hs-minor-mode works fine with python-mode I guess removing the ^ would cause the issue described in #19761 to recur, but adding \\_< makes sense. I will apply the following patch to emacs-25 in a few days unless there are objections.