diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 8ec9febe5c9..9091289b62e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -5136,7 +5136,7 @@ returned as is." | |||
| 5136 | (add-to-list | 5136 | (add-to-list |
| 5137 | 'hs-special-modes-alist | 5137 | 'hs-special-modes-alist |
| 5138 | `(python-mode | 5138 | `(python-mode |
| 5139 | "\\s-*\\(?:def\\|class\\)\\>" | 5139 | "\\s-*\\_<\\(?:def\\|class\\)\\_>" |
| 5140 | ;; Use the empty string as end regexp so it doesn't default to | 5140 | ;; Use the empty string as end regexp so it doesn't default to |
| 5141 | ;; "\\s)". This way parens at end of defun are properly hidden. | 5141 | ;; "\\s)". This way parens at end of defun are properly hidden. |
| 5142 | "" | 5142 | "" |