emacs-diffs
[Top][All Lists]
Advanced

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

scratch/package-vc-fixes 685b4b274b 08/48: Fix the docstring for 'packag


From: Philip Kaludercic
Subject: scratch/package-vc-fixes 685b4b274b 08/48: Fix the docstring for 'package-vc--version'
Date: Wed, 16 Nov 2022 04:49:59 -0500 (EST)

branch: scratch/package-vc-fixes
commit 685b4b274b90338234441ec58e6f9afbf9515d88
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]