From: Philip Kaludercic Date: Sun, 6 Nov 2022 11:05:32 +0000 (+0100) Subject: Fix the docstring for 'package-vc--version' X-Git-Tag: emacs-29.0.90~1616^2~91 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=32758c6da0bb9d3de60244e471b73dd43602d7fb;p=emacs.git 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. --- diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index 1ef7d0d318e..9288faf380f 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -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