diff options
| author | Stefan Monnier | 2023-05-26 11:18:49 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2023-05-26 11:18:49 -0400 |
| commit | 321ed8ebae8f84e0f8ae6cf2012f0f8830d9fda9 (patch) | |
| tree | 594c9d18a21032e971667fce7e87670377cb4d31 | |
| parent | bb7605c087006b714236165f88341545355d3673 (diff) | |
| download | emacs-321ed8ebae8f84e0f8ae6cf2012f0f8830d9fda9.tar.gz emacs-321ed8ebae8f84e0f8ae6cf2012f0f8830d9fda9.zip | |
* 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.
| -rw-r--r-- | lisp/emacs-lisp/package.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 1199 | ;; the earliest in version 31.1. The idea is to phase out the | 1199 | ;; the earliest in version 31.1. The idea is to phase out the |
| 1200 | ;; requirement for a "footer line" without unduly impacting users | 1200 | ;; requirement for a "footer line" without unduly impacting users |
| 1201 | ;; on earlier Emacs versions. See Bug#26490 for more details. | 1201 | ;; on earlier Emacs versions. See Bug#26490 for more details. |
| 1202 | (unless (search-forward (concat ";;; " file-name ".el ends here") nil t) | 1202 | (unless (search-forward (concat ";;; " file-name ".el ends here") nil 'move) |
| 1203 | (lwarn '(package package-format) :warning | 1203 | (lwarn '(package package-format) :warning |
| 1204 | "Package lacks a terminating comment")) | 1204 | "Package lacks a terminating comment")) |
| 1205 | ;; Try to include a trailing newline. | 1205 | ;; Try to include a trailing newline. |