all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Strange change in bytecmop.el
Date: Thu, 21 Jul 2005 17:49:42 -0400	[thread overview]
Message-ID: <jwvfyu74yss.fsf-monnier+emacs@gnu.org> (raw)

Regarding the change below:

	* emacs-lisp/bytecomp.el (byte-compile-and-recursion): New function.
	(byte-compile-and): Use byte-compile-and-recursion.
	(byte-compile-or-recursion): New function.
	(byte-compile-or): Use that.
	(byte-compile-if): Guard the else-clause too.
	(byte-compile-maybe-guarded): Handle (not (featurep 'emacs)).

the last part not only is strange because (featurep 'emacs) is never used
(since Emacs does not provide the `emacs' feature) but also because it tries
to handle (featurep 'xemacs) even though that's already handled in
byteopt.el where we do:

   (put 'featurep 'byte-optimizer 'byte-optimize-featurep)
   (defun byte-optimize-featurep (form)
     ;; Emacs-21's byte-code doesn't run under XEmacs anyway, so we can
     ;; safely optimize away this test.
     (if (equal '((quote xemacs)) (cdr-safe form))
         nil
       form))


-- Stefan

             reply	other threads:[~2005-07-21 21:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 21:49 Stefan Monnier [this message]
2005-07-21 23:12 ` Strange change in bytecmop.el Juanma Barranquero
2005-07-22 19:43   ` Stefan Monnier
2005-07-22 22:52 ` Richard M. Stallman
2005-07-23 18:45   ` Stefan Monnier
2005-07-24 14:41     ` Richard M. Stallman
2005-07-24 16:44       ` David Kastrup
2005-07-25  1:43         ` Richard M. Stallman
2005-07-25  1:59           ` David Kastrup
2005-07-25 11:39             ` Robert J. Chassell
2005-07-25 12:51               ` David Kastrup
2005-07-25 16:03             ` Richard M. Stallman
2005-07-25 17:21               ` David Kastrup
2005-07-26  8:12             ` Juanma Barranquero
2005-07-26  8:44               ` David Kastrup
2005-07-26 10:09                 ` Juanma Barranquero
2005-07-26 12:38                   ` David Kastrup
2005-07-26 12:58                     ` Juanma Barranquero
2005-07-28 22:04                 ` Kim F. Storm
2005-07-24 14:41     ` Richard M. Stallman

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=jwvfyu74yss.fsf-monnier+emacs@gnu.org \
    --to=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.