diff --git a/lisp/emacs-lisp/package-x.el b/lisp/emacs-lisp/package-x.el index 2815be3..d929cf5 100644 --- a/lisp/emacs-lisp/package-x.el +++ b/lisp/emacs-lisp/package-x.el @@ -205,7 +205,10 @@ if it exists." (commentary (pcase file-type ('single (lm-commentary)) - ('tar nil))) ;; FIXME: Get it from the README file. + ('tar (when (file-exists-p "README") + (with-temp-buffer + (insert-file-contents "README") + (buffer-string)))))) (extras (package-desc-extras pkg-desc)) (pkg-version (package-version-join split-version)) (pkg-buffer (current-buffer)))