unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Has eval-and-compile changed in emacs 27?
@ 2021-02-25 13:06 Leo Liu
  2021-02-25 14:59 ` Eli Zaretskii
  2021-02-25 16:18 ` Stefan Monnier
  0 siblings, 2 replies; 24+ messages in thread
From: Leo Liu @ 2021-02-25 13:06 UTC (permalink / raw)
  To: emacs-devel

Hi there,

A file
https://github.com/erlang/otp/blob/master/lib/tools/emacs/erldoc.el
suddenly has a compiler warning under emacs 27, which has no warnings
before.

    erldoc.el:535:1:Warning: the function ‘json-encode’ might not be
    defined at runtime.

I have (eval-and-compile (require 'json)) right before using json-encode
in a function body. Has anything changed in emacs 27 regarding
eval-and-compile? I checked NEWS but couldn't find anything.

Thanks,
Leo




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

end of thread, other threads:[~2021-02-28  5:04 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 13:06 Has eval-and-compile changed in emacs 27? Leo Liu
2021-02-25 14:59 ` Eli Zaretskii
2021-02-25 15:06   ` Lars Ingebrigtsen
2021-02-25 15:23     ` Eli Zaretskii
2021-02-25 21:59       ` Leo Liu
2021-02-25 15:30     ` Basil L. Contovounesios
2021-02-25 16:18 ` Stefan Monnier
2021-02-25 16:28   ` Stefan Monnier
2021-02-25 21:55     ` Leo Liu
2021-02-25 22:29       ` Stefan Monnier
2021-02-26  2:40         ` Leo Liu
2021-02-26  3:54           ` Stefan Monnier
2021-02-26  8:40             ` Leo Liu
2021-02-26  9:21               ` Basil L. Contovounesios
2021-02-26  9:33                 ` Basil L. Contovounesios
2021-02-26 12:06                   ` Eli Zaretskii
2021-02-28  1:35                 ` Leo Liu
2021-02-28  5:04                   ` Stefan Monnier
2021-02-26 14:06               ` Stefan Monnier
2021-02-26  6:36     ` Richard Stallman
2021-02-26  7:54       ` Eli Zaretskii
2021-02-26  9:09         ` Basil L. Contovounesios
2021-02-27  0:34         ` Tomas Hlavaty
2021-02-27  7:16           ` Eli Zaretskii

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).