[cython-mode.el] Fix endless loop reported in #3218 and other bugs around it (GH-4460)
The function `(cython-current-defun)` of `cython-mode.el` had some issues: * ran into an endless loop * for `cdef`s and `cpdef`s it picked the function type rather than the function name. * did not properly handle nested functions Closes https://github.com/cython/cython/issues/3218
Showing
Please register or sign in to comment