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

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

bug#15666: 24.3.50; regression: `defadvice' of a special form


From: Lars Ingebrigtsen
Subject: bug#15666: 24.3.50; regression: `defadvice' of a special form
Date: Sun, 30 May 2021 07:45:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

> (elisp) `Defining Advice' says that you can use `defadvice' to advise a
> special form.  It is quite clear about this:
>
>   "Here, FUNCTION is the name of the function (or macro or special form)
>   to be advised.  From now on, we will write just "function" when
>   describing the entity being advised, but this always includes macros
>                                            ^^^^^^^^^^^^^^^^^^^^
>   and special forms."
>       ^^^^^^^^^^^^^

The manual now says:

  Special forms (@pxref{Special Forms}) cannot be advised, however macros can
be advised, in much the same way as functions.

And I don't think we want to change this at this point, so I'm closing
this bug report.

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





reply via email to

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