]> git.eshelyaron.com Git - emacs.git/commit
Only issue lexical cookie warning for elisp files
authorMattias EngdegÄrd <mattiase@acm.org>
Sat, 4 May 2024 08:08:19 +0000 (10:08 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:38:33 +0000 (18:38 +0200)
commitcd5d4ed3f9fbd082dce2d583b4f4f091449acc94
treeef24cea82460fa5687e139c81bf45697756dc866
parent428421816f3f74142c34aab7448ce27a74a7b562
Only issue lexical cookie warning for elisp files

* src/lread.c (string_suffix_p): New.
(warn_missing_cookie): Suppress warning for files not ending in ".el",
except ".emacs".
* etc/NEWS: Update accordingly, and mention how the warning can be
suppressed.

(cherry picked from commit 1121f17d7c4bc3b71edcd0799b894f50aa3a715e)
etc/NEWS
src/lread.c