branch: externals/vc-backup
commit e652a7e2825e96115de391adc4f5aae327d50322
Author: Alfred M. Szmidt <a...@gnu.org>
Commit: Philip Kaludercic <phil...@posteo.net>

    Update vc-backup--extract-version docstring
---
 vc-backup.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/vc-backup.el b/vc-backup.el
index fdb7b51..a159606 100644
--- a/vc-backup.el
+++ b/vc-backup.el
@@ -154,9 +154,10 @@ recency."
 
 (defun vc-backup--extract-version (file-or-backup)
   "Return a revision string for FILE-OR-BACKUP.
-If FILE-OR-BACKUP is the actual file, \"real\" is
-returned.  Otherwise, it returns the version number as a string or
-\"prev\" for unversioned backups."
+If FILE-OR-BACKUP is the actual file, the value of
+`vc-backup--current-tag' is returned.  Otherwise, it returns the
+version number as a string or the value of
+`vc-backup--previous-tag' for unversioned backups."
   (cond ((not (backup-file-name-p file-or-backup)) vc-backup--current-tag)
        ((string-match "\\.~\\([[:digit:]]+\\)~\\'" file-or-backup)
         (match-string 1 file-or-backup))

Reply via email to