emacs-diffs
[Top][All Lists]
Advanced

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

scratch/package-vc-fixes 55af74cd1e 08/14: Fix the docstring for 'packag


From: Philip Kaludercic
Subject: scratch/package-vc-fixes 55af74cd1e 08/14: Fix the docstring for 'package-vc--version'
Date: Wed, 9 Nov 2022 03:52:02 -0500 (EST)

branch: scratch/package-vc-fixes
commit 55af74cd1e274fba2aa3f2471d4ea1b2b5fd6409
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 eae55decfd..a863d708b8 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -287,7 +287,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]