GNU bug report logs - #50222
Advising a function pollutes its docstring

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <clement.pitclaudel <at> live.com>

Date: Fri, 27 Aug 2021 03:31:02 UTC

Severity: normal

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Clément Pit-Claudel <clement.pitclaudel <at> live.com>
Cc: 50222 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#50222: Advising a function pollutes its docstring
Date: Fri, 27 Aug 2021 17:15:03 +0200
Clément Pit-Claudel <clement.pitclaudel <at> live.com> writes:

> It would be nice to place the bit of text about advice somewhere else
> — maybe with the indented paragraph of the docs that says when the
> function was introduced and which group contains the relevant docs?

I don't think putting it in the indented bit will work well, because the
advice may have multi-line doc strings...

So changed it to just put the advice doc at the end of the doc string in
Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.