help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: The function ‘cl-set-difference’ might not be defined at runtime


From: Štěpán Němec
Subject: Re: The function ‘cl-set-difference’ might not be defined at runtime
Date: Tue, 14 Apr 2020 20:47:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Tue, 14 Apr 2020 15:25:20 -0300
Jorge P. de Morais Neto wrote:

> Em [2020-04-14 ter 20:12:24+0200], Štěpán Němec escreveu:
>
>> Try (autoloadp (symbol-function 'markdown-mode))
>
> Oh, then it works.  How embarrassing.

Not particularly embarrassing IMO, esp. if you come from Common Lisp.
Elisp's #' works differently, e.g. (eq #'eq 'eq) => t.

> But still, why does Flycheck complains that ‘cl-set-difference’ might
> not be defined at runtime, when it is an autoload?  What am I supposed
> to do to placate it?

Did you have a look at that bug report? I thought the problem is
described there at some length. The simplest solution is probably to
just (require 'cl-lib).

-- 
Štěpán



reply via email to

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