|
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 <dilaz03@gmail.com> writes: > On 01/05/2017 07:07 AM, npostavs@users.sourceforge.net 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.
[Prev in Thread] | Current Thread | [Next in Thread] |