Commit 89fa7c45 authored by Federico Tedin's avatar Federico Tedin Committed by Stefan Monnier
Browse files

Correctly handle packages without description in describe-package

* lisp/emacs-lisp/package.el (describe-package-1): Do not call insert
  if package description is nil (Bug#34147).
parent a0b1c402
Pipeline #1050 failed with stage
in 60 minutes and 1 second
......@@ -2484,7 +2484,8 @@ The description is read from the installed package files."
(insert ?\n)))
(setq readme-string (buffer-string))
(insert readme-string))
(insert (or readme-string
"This package does not provide a description.")))
(defun package-install-button-action (button)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment