unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 15666@debbugs.gnu.org
Subject: bug#15666: 24.3.50; regression: `defadvice' of a special form
Date: Sun, 30 May 2021 07:45:18 +0200	[thread overview]
Message-ID: <87zgwc3hch.fsf@gnus.org> (raw)
In-Reply-To: <6bc447c6-2d04-47d5-9e55-c8e6362fd4c7@default> (Drew Adams's message of "Sun, 20 Oct 2013 16:15:25 -0700 (PDT)")

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





  parent reply	other threads:[~2021-05-30  5:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-20 23:15 bug#15666: 24.3.50; regression: `defadvice' of a special form Drew Adams
2013-10-20 23:32 ` Drew Adams
2021-05-30  5:45 ` Lars Ingebrigtsen [this message]
2021-05-30 14:32   ` bug#15666: [External] : " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgwc3hch.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=15666@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).