[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51340: 27.2; Bad indentation and fontification of advice functions
From: |
Lars Ingebrigtsen |
Subject: |
bug#51340: 27.2; Bad indentation and fontification of advice functions |
Date: |
Sun, 24 Oct 2021 20:29:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> I don't really care much. Mainly wanted to draw some
> attention to the (minor) "problem", which could use
> some love.
>
> (advice-add
> 'foobar-mode :around 'my-foobar-around-advice)
>
> (advice-add 'foobar-mode
> :around 'my-foobar-around-advice)
>
> (advice-add 'foobar-mode :around
> 'my-foobar-around-advice)
>
> (add-function :before-until (local 'something)
> #'some-function)
>
> (add-function where isearch-filter-predicate pred
> (append (and (or name ...)
> `((name . ...)))
> (and ...
> (or ...)
> (let ((foo ...))
> (unless (or ...)
> (setq foo ))
> (and ...)))))
The second, fourth and fifth indentations are the same -- and are the
ones that make the most sense. And happily, that's the way this indents
today, so I don't think there's anything here to fix, so I'm closing
this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no