bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24820: Imenu in `python-mode' does not display function name for asy


From: npostavs
Subject: bug#24820: Imenu in `python-mode' does not display function name for async def
Date: Thu, 05 Jan 2017 20:19:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Dmitry Lazurkin <address@hidden> writes:

> On 01/05/2017 07:07 AM, address@hidden wrote:
>>> (is formatting code ugly?)
>> I don't see any formatting problems in your code,
>
> Formatting of "async def":
> +        (list (concat (car split) " " (cadr split))
> +              (car (last split)))))))

Formatting looks fine here.  Since I'm staring at it anyway, it could be
optimized like so:

    (cons (concat (car split) " " (cadr split))
          (last split))

It's fine either way though.





reply via email to

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