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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user