Commit 650e8a6d authored by Barry Warsaw's avatar Barry Warsaw

(imenu-example--python-method-regexp): Patch from Christian Tanzer:

"3.67 fixes Imenu as far as classes are concerned, but some default
values for function arguments are still not supported."

This ought to fix that problem.
parent 12c9294e
...@@ -778,7 +778,7 @@ package. Note that the latest X/Emacs releases contain this package.") ...@@ -778,7 +778,7 @@ package. Note that the latest X/Emacs releases contain this package.")
"\\(def[ \t]+" ; function definitions start with def "\\(def[ \t]+" ; function definitions start with def
"\\([a-zA-Z0-9_]+\\)" ; name is here "\\([a-zA-Z0-9_]+\\)" ; name is here
; function arguments... ; function arguments...
"[ \t]*(\\([a-zA-Z0-9_=,\* \t\n]*\\))" "[ \t]*(\\([-+/a-zA-Z0-9_=,\* \t\n.()\"'#]*\\))"
"\\)" ; end of def "\\)" ; end of def
"[ \t]*:" ; and then the : "[ \t]*:" ; and then the :
"\\)" ; >>methods and functions<< "\\)" ; >>methods and functions<<
......
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