py-beginning-of-def-or-class really "or"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

py-beginning-of-def-or-class really "or"

Andreas Röhler-2

Hi,

intend to make

py-beginning-of-def-or-class

really "or", i.e. looking for each of them.

Doku says:

,----
| Searches back for the closest preceding `def'.  If you
| supply a prefix arg, looks for a `class' instead.
`----

Presently, reaching the must upward def, you must type
\C-u first, to reach the class.

Afterwards it will be sufficient to repeat the command,
while universal arg should be kept nonetheless.

Any objections/suggestions?


Andreas Röhler

--
Mentioned python-mode.el branch is available at
http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/files
_______________________________________________
Python-mode mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/python-mode