all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Johan Bockgård" <bojohan@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: `eval-after-load' broken for symbols?
Date: Mon, 07 Nov 2011 21:14:02 +0100	[thread overview]
Message-ID: <87lirrher9.fsf@gnu.org> (raw)
In-Reply-To: <980A1209-F9FB-4B2F-95A3-592EA5206B7A@gmail.com> (Daniel Brockman's message of "Tue, 1 Nov 2011 16:17:58 +0100")

Daniel Brockman <dbrockman@gmail.com> writes:

>     (when (symbolp regexp-or-feature)
>       ;; For features, the after-load-alist elements get run when `provide' is
>       ;; called rather than at the end of the file.  So add an indirection to
>       ;; make sure that `form' is really run "after-load" in case the provide
>       ;; call happens early.
>       (setq form
>             `(when load-file-name
>                         …
>
> So, is this actually a bug? The behavior sure seems broken anyway.

Yes. It works correctly in Emacs 23.



      reply	other threads:[~2011-11-07 20:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 15:17 `eval-after-load' broken for symbols? Daniel Brockman
2011-11-07 20:14 ` Johan Bockgård [this message]

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=87lirrher9.fsf@gnu.org \
    --to=bojohan@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.