Commit 22b64f7b authored by Mattias Engdegård's avatar Mattias Engdegård

Better error message for C-h P RET

  package--incompatible-p: Wrong type argument: package-desc, nil
  No package specified

* lisp/emacs-lisp/package.el (describe-package): Don't use ## as input.
parent 5d99f1d0
Pipeline #2223 failed with stage
in 62 minutes and 34 seconds
......@@ -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)
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