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).
This commit is contained in:
parent
a0b1c40233
commit
89fa7c4555
1 changed files with 2 additions and 1 deletions
|
@ -2484,7 +2484,8 @@ The description is read from the installed package files."
|
|||
(insert ?\n)))
|
||||
(setq readme-string (buffer-string))
|
||||
t)
|
||||
(insert readme-string))
|
||||
(insert (or readme-string
|
||||
"This package does not provide a description.")))
|
||||
))))
|
||||
|
||||
(defun package-install-button-action (button)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue