From 32758c6da0bb9d3de60244e471b73dd43602d7fb Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Sun, 6 Nov 2022 12:05:32 +0100 Subject: [PATCH] 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. --- lisp/emacs-lisp/package-vc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5