* 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.
This commit is contained in:
parent
bb7605c087
commit
321ed8ebae
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue