diff options
| author | Philip Kaludercic | 2022-11-06 12:05:32 +0100 |
|---|---|---|
| committer | Philip Kaludercic | 2022-11-17 20:37:28 +0100 |
| commit | 32758c6da0bb9d3de60244e471b73dd43602d7fb (patch) | |
| tree | 577935243024573c0f5e3c628b6626a9b9747d7f | |
| parent | 83ff0de4cec8ad5342dc5dc2d0dacd0fe29795df (diff) | |
| download | emacs-32758c6da0bb9d3de60244e471b73dd43602d7fb.tar.gz emacs-32758c6da0bb9d3de60244e471b73dd43602d7fb.zip | |
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.
| -rw-r--r-- | lisp/emacs-lisp/package-vc.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 291 | finally return "unknown")) | 291 | finally return "unknown")) |
| 292 | 292 | ||
| 293 | (defun package-vc--version (pkg) | 293 | (defun package-vc--version (pkg) |
| 294 | "Extract the commit of a development package PKG." | 294 | "Return the version number for the source package PKG." |
| 295 | (cl-assert (package-vc-p pkg)) | 295 | (cl-assert (package-vc-p pkg)) |
| 296 | (if-let ((main-file (package-vc--main-file pkg))) | 296 | (if-let ((main-file (package-vc--main-file pkg))) |
| 297 | (with-temp-buffer | 297 | (with-temp-buffer |