mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Fix commentary extraction for single file packages
Explicitly read the commentary instead of relying on the package info. Fixes a regression from changed pkg-info format, and has the added bonus that it works on 24.4 as well, where pkg-info never contained the commentary anyway.
This commit is contained in:
parent
d1df88461f
commit
ab68a59456
1 changed files with 1 additions and 1 deletions
|
@ -953,7 +953,7 @@ Returns the archive entry for the package."
|
|||
(kill-buffer)))
|
||||
|
||||
(pb/write-pkg-readme target-dir
|
||||
(and (> (length pkg-info) 4) (aref pkg-info 4))
|
||||
(pb/find-package-commentary pkg-source)
|
||||
package-name)
|
||||
(pb/archive-entry pkg-info 'single)))
|
||||
((< 1 (length files))
|
||||
|
|
Loading…
Reference in a new issue