emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: imenu issue from Bug #13438


From: Stefan Monnier
Subject: Re: imenu issue from Bug #13438
Date: Mon, 21 Jan 2013 20:07:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Here's a mindless quick patch that seems to fix the problem. I could
> install it myself but I'd like some input first.

Calling beginning-of-defun in such generic code is not an option,
because this function only works properly in those major modes that set
it up appropriately.

I think testing bobp makes more sense (and python's function should make
sure it eventually either returns nil or moves up to bob).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]