]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "package.el: Allow Package-Requires to span multiple lines (Bug#36301)"
authorThomas Fitzsimmons <fitzsim@fitzsim.org>
Fri, 16 Aug 2019 16:17:40 +0000 (12:17 -0400)
committerThomas Fitzsimmons <fitzsim@fitzsim.org>
Fri, 16 Aug 2019 16:18:44 +0000 (12:18 -0400)
This reverts commit 19c1e4c81c7442dea48253e5961b6e54d78b6f0a.

This commit broke some package tests, reverting for now.

lisp/emacs-lisp/package.el

index e6815fd9644388bf4b722cb384e17152d8b0a1ef..a72522ad8f80bc07cda33dc32f251b805d555444 100644 (file)
@@ -1028,7 +1028,6 @@ is wrapped around any parts requiring it."
               deps))))
 
 (declare-function lm-header "lisp-mnt" (header))
-(declare-function lm-header-multiline "lisp-mnt" (header))
 (declare-function lm-homepage "lisp-mnt" (&optional file))
 (declare-function lm-keywords-list "lisp-mnt" (&optional file))
 (declare-function lm-maintainer "lisp-mnt" (&optional file))
@@ -1055,8 +1054,7 @@ boundaries."
     (narrow-to-region start (point))
     (require 'lisp-mnt)
     ;; Use some headers we've invented to drive the process.
-    (let* ((requires-str
-            (mapconcat 'identity (lm-header-multiline "package-requires") " "))
+    (let* ((requires-str (lm-header "package-requires"))
            ;; Prefer Package-Version; if defined, the package author
            ;; probably wants us to use it.  Otherwise try Version.
            (pkg-version