[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b28d44d4226: * lisp/emacs-lisp/package.el (package-buffer-info):
From: |
Stefan Monnier |
Subject: |
master b28d44d4226: * lisp/emacs-lisp/package.el (package-buffer-info): Fix thinko |
Date: |
Wed, 3 May 2023 13:18:13 -0400 (EDT) |
branch: master
commit b28d44d4226497c4b2582bc15a59fc817eb3ce0a
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/emacs-lisp/package.el (package-buffer-info): Fix thinko
---
lisp/emacs-lisp/package.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 16b2218da26..0f68f0e8041 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b28d44d4226: * lisp/emacs-lisp/package.el (package-buffer-info): Fix thinko,
Stefan Monnier <=