emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Allow hiding stashes from vc-dir


From: Stefan Monnier
Subject: Re: [PATCH] Allow hiding stashes from vc-dir
Date: Fri, 18 Oct 2019 23:16:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I believe you [1]. Although in my mind the whole point of the autoload
> cookies is that you donʼt need to require the whole of cl-lib just to
> use one of its functions.

The autoload cookies in cl-extra.el are setup such that it means "once
cl-lib is loaded, those functions get autoloaded".  Which is why you
still need to load cl-lib in order to setup the autoload.

But really, you don't need to know any of that.  cl-subseq is a function
exported by cl-lib, so you need to load cl-lib to use the function (the
fact that it uses an autoload is a detail internal to cl-lib, just like
the fact that it's not defined in cl-lib.el but in cl-extra.el).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]