1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 08:10:21 -08:00

* lisp/emacs-lisp/package.el (package-buffer-info): Fix thinko

This commit is contained in:
Stefan Monnier 2023-05-03 13:18:08 -04:00
parent 5eaa7ec098
commit b28d44d422

View file

@ -1196,7 +1196,7 @@ boundaries."
;; the earliest in version 31.1. The idea is to phase out the
;; requirement for a "footer line" without unduly impacting users
;; on earlier Emacs versions. See Bug#26490 for more details.
(unless (search-forward (concat ";;; " file-name ".el ends here"))
(unless (search-forward (concat ";;; " file-name ".el ends here") nil t)
(lwarn '(package package-format) :warning
"Package lacks a terminating comment"))
;; Try to include a trailing newline.