emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 32758c6da0 08/42: Fix the docstring for 'package-vc--version'


From: Philip Kaludercic
Subject: master 32758c6da0 08/42: Fix the docstring for 'package-vc--version'
Date: Thu, 17 Nov 2022 14:56:18 -0500 (EST)

branch: master
commit 32758c6da0bb9d3de60244e471b73dd43602d7fb
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    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 1ef7d0d318..9288faf380 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]