diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2024-07-06 15:19:10 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2024-07-06 15:22:20 +0200 |
commit | 235b9e85a672fa1e24ba12a00af62b3307f0d4c0 (patch) | |
tree | 579fc3a4ac9e0096e8499d72da2172590b002fe8 /lisp/emacs-lisp | |
parent | f910514721e2eac1535d51ccebf7f136be3ba57f (diff) | |
download | emacs-235b9e85a672fa1e24ba12a00af62b3307f0d4c0.tar.gz emacs-235b9e85a672fa1e24ba12a00af62b3307f0d4c0.tar.bz2 emacs-235b9e85a672fa1e24ba12a00af62b3307f0d4c0.zip |
package-buffer-info: Move 'require' earlier
* lisp/emacs-lisp/package.el (package-buffer-info):
Move 'require' earlier, before it is needed.
Diffstat (limited to 'lisp/emacs-lisp')
-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 fac824d44a4..53d04b0d5ec 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1174,6 +1174,7 @@ boundaries." (let ((file-name (match-string-no-properties 1)) (desc (match-string-no-properties 2)) (start (line-beginning-position))) + (require 'lisp-mnt) ;; This warning was added in Emacs 27.1, and should be removed at ;; the earliest in version 31.1. The idea is to phase out the ;; requirement for a "footer line" without unduly impacting users @@ -1190,7 +1191,6 @@ boundaries." ;; Try to include a trailing newline. (forward-line) (narrow-to-region start (point)) - (require 'lisp-mnt) ;; Use some headers we've invented to drive the process. (let* (;; Prefer Package-Version; if defined, the package author ;; probably wants us to use it. Otherwise try Version. |