[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Has eval-and-compile changed in emacs 27?
From: |
Leo Liu |
Subject: |
Has eval-and-compile changed in emacs 27? |
Date: |
Thu, 25 Feb 2021 21:06:15 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (macOS 10.14.6) |
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