emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 321ed8ebae8: * lisp/emacs-lisp/package.el (package-buffer-info):


From: Stefan Monnier
Subject: master 321ed8ebae8: * lisp/emacs-lisp/package.el (package-buffer-info): Fix last change
Date: Fri, 26 May 2023 11:19:01 -0400 (EDT)

branch: master
commit 321ed8ebae8f84e0f8ae6cf2012f0f8830d9fda9
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/emacs-lisp/package.el (package-buffer-info): Fix last change
    
    The code that follows expects point to be at/near the end of the buffer.
---
 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 e906c73ecab..69595601bc8 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1199,7 +1199,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") nil t)
+    (unless (search-forward (concat ";;; " file-name ".el ends here") nil 
'move)
       (lwarn '(package package-format) :warning
              "Package lacks a terminating comment"))
     ;; Try to include a trailing newline.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]