Better error message for C-h P RET
Previously: package--incompatible-p: Wrong type argument: package-desc, nil Now: No package specified * lisp/emacs-lisp/package.el (describe-package): Don't use ## as input.
This commit is contained in:
parent
5d99f1d01e
commit
22b64f7bac
1 changed files with 1 additions and 1 deletions
|
@ -2254,7 +2254,7 @@ will be deleted."
|
|||
"Describe package: ")
|
||||
packages nil t nil nil (when guess
|
||||
(symbol-name guess)))))
|
||||
(list (intern val))))))
|
||||
(list (and (> (length val) 0) (intern val)))))))
|
||||
(if (not (or (package-desc-p package) (and package (symbolp package))))
|
||||
(message "No package specified")
|
||||
(help-setup-xref (list #'describe-package package)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue