Kaydet (Commit) 93c88cca authored tarafından Barry Warsaw's avatar Barry Warsaw

(imenu-example--create-python-index-engine): Fix nesting breakage when

a method definition has args that span multiple lines; be sure to go
to the beginning of the method definition -- but watch out for the
match-data!
üst 664dcd5b
......@@ -891,6 +891,8 @@ of the first definition found."
(setq def-name
(buffer-substring-no-properties (match-beginning cur-paren)
(match-end cur-paren))))
(save-match-data
(py-beginning-of-def-or-class))
(beginning-of-line)
(setq cur-indent (current-indentation)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment