Fix the docstring for 'package-vc--version'

* lisp/emacs-lisp/package-vc.el (package-vc--version): Replace
docstring.

It seems like this was just copied over from 'package-vc-commit', for
no good reason.
This commit is contained in:
Philip Kaludercic
2022-11-06 12:05:32 +01:00
parent 83ff0de4ce
commit 32758c6da0

View File

@@ -291,7 +291,7 @@ asynchronously."
finally return "unknown"))
(defun package-vc--version (pkg)
"Extract the commit of a development package PKG."
"Return the version number for the source package PKG."
(cl-assert (package-vc-p pkg))
(if-let ((main-file (package-vc--main-file pkg)))
(with-temp-buffer