all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 56648@debbugs.gnu.org
Subject: bug#56648: 29.0.50; Need for `compiled-function-p`
Date: Sun, 14 Aug 2022 19:49:09 +0300	[thread overview]
Message-ID: <83ilmukby2.fsf@gnu.org> (raw)
In-Reply-To: <jwvzgg6n6eh.fsf-monnier+emacs@gnu.org> (bug-gnu-emacs@gnu.org)

> +(defun compiled-function-p (object)
> +  "Return non-nil if OBJECT is a function that has been compiled.
> +Does not distinguish between functions implemented in machine code
> +or byte-code."
> +  (or (subrp object) (byte-code-function-p object)))

What happened to this part from bytecomp.el:

> -  (or (byte-code-function-p (symbol-function 'byte-compile-form))
> -      (subr-native-elisp-p (symbol-function 'byte-compile-form))
> -      (assq 'byte-code (symbol-function 'byte-compile-form)) <<<<<<<<<<<<<
> +  (or (compiled-function-p (symbol-function 'byte-compile-form))





  parent reply	other threads:[~2022-08-14 16:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19 20:43 bug#56648: 29.0.50; Need for `compiled-function-p` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found] ` <handler.56648.B.165826342614243.ack@debbugs.gnu.org>
2022-07-22  5:07   ` bug#56648: Acknowledgement (29.0.50; Need for `compiled-function-p`) Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23  2:55     ` Mike Kupfer
2022-07-23 13:51       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23  4:30 ` bug#56648: 29.0.50; Need for `compiled-function-p` Lars Ingebrigtsen
2022-07-24  0:27   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24  9:22     ` Lars Ingebrigtsen
2022-08-14 16:30       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-14 16:34         ` Eli Zaretskii
2022-08-14 16:47           ` Lars Ingebrigtsen
2022-08-14 16:53             ` Eli Zaretskii
2022-08-14 17:27           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-14 16:49         ` Eli Zaretskii [this message]
2022-08-14 17:51           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-14 18:03             ` Eli Zaretskii
2022-08-15  2:36               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

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

  git send-email \
    --in-reply-to=83ilmukby2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56648@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.