emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/vc-backup e652a7e 06/18: Update vc-backup--extract-vers


From: ELPA Syncer
Subject: [elpa] externals/vc-backup e652a7e 06/18: Update vc-backup--extract-version docstring
Date: Thu, 26 Aug 2021 13:57:24 -0400 (EDT)

branch: externals/vc-backup
commit e652a7e2825e96115de391adc4f5aae327d50322
Author: Alfred M. Szmidt <ams@gnu.org>
Commit: Philip Kaludercic <philipk@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

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