* pkg-autoloads.el no longer `provides' anything?
@ 2013-11-18 19:33 Donald Curtis
2013-11-18 21:43 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Donald Curtis @ 2013-11-18 19:33 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
I haven't been monitoring the mailing list but I noticed a lot of new
changes to package.el. One is that now the generated *-autoloads.el file
doesn't contain (provides 'pkg-autoloads). Was this something that was
intentional or something that got lost along the way.
I like having this because it allows me to use (eval-after-load
'pkg-autoloads ...) in my init.el and only conditionally evaluate code when
a package is actually installed. I realize I can now use (when
(package-installed-p 'pkg) ..) now but the nice thing about the
`eval-after-load` is that it evaluates when I install the package from
list-packages.
If it is an optimization for load time I am happy to work around it but if
it was unintended I can file a bug and maybe we can get it back.
[-- Attachment #2: Type: text/html, Size: 863 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pkg-autoloads.el no longer `provides' anything?
2013-11-18 19:33 pkg-autoloads.el no longer `provides' anything? Donald Curtis
@ 2013-11-18 21:43 ` Glenn Morris
2013-11-18 21:56 ` Donald Curtis
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2013-11-18 21:43 UTC (permalink / raw)
To: Donald Curtis; +Cc: emacs-devel
Donald Curtis wrote:
> I like having this because it allows me to use (eval-after-load
> 'pkg-autoloads ...) in my init.el
Why can't you use (eval-after-load "pkg-autoloads")?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pkg-autoloads.el no longer `provides' anything?
2013-11-18 21:43 ` Glenn Morris
@ 2013-11-18 21:56 ` Donald Curtis
0 siblings, 0 replies; 3+ messages in thread
From: Donald Curtis @ 2013-11-18 21:56 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
*facepalm*
On Mon, Nov 18, 2013 at 1:43 PM, Glenn Morris <rgm@gnu.org> wrote:
> Donald Curtis wrote:
>
> > I like having this because it allows me to use (eval-after-load
> > 'pkg-autoloads ...) in my init.el
>
> Why can't you use (eval-after-load "pkg-autoloads")?
>
[-- Attachment #2: Type: text/html, Size: 619 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-18 21:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-18 19:33 pkg-autoloads.el no longer `provides' anything? Donald Curtis
2013-11-18 21:43 ` Glenn Morris
2013-11-18 21:56 ` Donald Curtis
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).