• Fabián Ezequiel Gallina's avatar
    Corrected implementations for python-{beginning,end}-of-defun functions. · 0567effb
    Fabián Ezequiel Gallina authored
    When point is at beginning-of-defun, end-of-defun moves to the end of
    the defun, even if it contains nested defuns. When point is at any
    inner defun end-of-defun moves to the end of it, if another inner
    defun exists at the same level point is moved to it.
    
    For beginning-of-defun things are funkier, it would move backwards
    following nested defuns in order. This will be fixed soon.
    
    Note: Decorators are considered part of defuns.
    
    Removed:
        * python-use-beginning-of-innermost-defun
        * python-beginning-of-innermost-defun-regexp
    
    Renamed:
        * python-beginning-of-defun => python-nav-beginning-of-defun
        * python-beginning-of-defun-regexp => python-nav-beginning-of-defun-regexp
    0567effb
python.el 81.8 KB