[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `eval-after-load' broken for symbols?
From: |
Johan Bockgård |
Subject: |
Re: `eval-after-load' broken for symbols? |
Date: |
Mon, 07 Nov 2011 21:14:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Daniel Brockman <address@hidden> 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.