all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* The function ‘cl-set-difference’ might not be defined at runtime
@ 2020-04-14 17:53 Jorge P. de Morais Neto
  2020-04-14 18:12 ` Štěpán Němec
  0 siblings, 1 reply; 18+ messages in thread
From: Jorge P. de Morais Neto @ 2020-04-14 17:53 UTC (permalink / raw)
  To: help-gnu-emacs

Hi.  I have a small Elisp file that calls `cl-set-difference'.  Flycheck
complains

    the function ‘cl-set-difference’ might not be defined at runtime. (emacs-lisp)

This complaint makes no sense to me, because cl-set-difference is
autoloaded, according to `describe-function'.  I verified this by
looking at its definition in the file cl-seq.el.  It does have the
autoload cookie.  I then read more about autoload and found about the
function `autloadp'.  To my surprise,
`(describe-function #'cl-set-difference)` returns nil.  Then I checked a
few other autoloads:

(autoloadp #'markdown-mode)
(autoloadp #'js-mode)

All of them return nil!  What gives?

I am using Spacemacs develop (and just before testing I updated the
Spacemacs code and all packages), but the autoloadp invocations happened
within vanilla Emacs: emacs -q.  And I invoked `autoloadp` just after
invoking emacs -q.  Emacs is version 27.0.90, compiled from an updated
checkout of the emacs-27 branch some minutes ago.

Regards

-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- <https://www.defectivebydesign.org/>
- <https://www.gnu.org/>



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-04-15 17:25 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-14 17:53 The function ‘cl-set-difference’ might not be defined at runtime Jorge P. de Morais Neto
2020-04-14 18:12 ` Štěpán Němec
2020-04-14 18:25   ` Jorge P. de Morais Neto
2020-04-14 18:39     ` Noam Postavsky
2020-04-14 18:47     ` Štěpán Němec
2020-04-14 19:17       ` Jorge P. de Morais Neto
2020-04-14 19:43         ` Noam Postavsky
2020-04-14 20:21           ` Štěpán Němec
2020-04-14 20:59             ` Jorge P. de Morais Neto
2020-04-15  4:01               ` Stefan Monnier
2020-04-15  4:34                 ` Emanuel Berg via Users list for the GNU Emacs text editor
     [not found]                   ` <20200415070046.GA17630@tuxteam.de>
2020-04-15 17:14                     ` ;; Local variables: (was: Re: The function ‘cl-set-difference’ might not be defined at runtime) Emanuel Berg via Users list for the GNU Emacs text editor
2020-04-15 17:25                       ` tomas
2020-04-15 12:52                 ` The function ‘cl-set-difference’ might not be defined at runtime Jorge P. de Morais Neto
2020-04-15 13:01                   ` Noam Postavsky
2020-04-14 20:21         ` Stefan Monnier
2020-04-14 21:10           ` Jorge P. de Morais Neto
2020-04-15  4:05             ` Stefan Monnier

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.