Commit 6689b537 authored by Nicolas Richard's avatar Nicolas Richard

* package.el (describe-package): Use symbol-at-point as additional guess

parent a4760a34
......@@ -2104,7 +2104,8 @@ will be deleted."
(defun describe-package (package)
"Display the full documentation of PACKAGE (a symbol)."
(interactive
(let* ((guess (function-called-at-point)))
(let* ((guess (or (function-called-at-point)
(symbol-at-point))))
(require 'finder-inf nil t)
;; Load the package list if necessary (but don't activate them).
(unless package--initialized
......
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