summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-cvs.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-08-01 13:48:08 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-08-01 13:48:29 +0200
commit70a2f2b09a902e0408aa0b640d0c2e1e5dcc6216 (patch)
tree46bcd46eb9b5b13f4070caf80a85056c29fe5c22 /lisp/vc/vc-cvs.el
parent3001c6eaa878db9e384bfcb499fe483a0dad7430 (diff)
downloademacs-70a2f2b09a902e0408aa0b640d0c2e1e5dcc6216.tar.gz
emacs-70a2f2b09a902e0408aa0b640d0c2e1e5dcc6216.tar.bz2
emacs-70a2f2b09a902e0408aa0b640d0c2e1e5dcc6216.zip
Use decoded-time accessors in vc-cvs
* lisp/vc/vc-cvs.el (vc-cvs-parse-entry): Use decoded-time accessors for results from `parse-time-string'.
Diffstat (limited to 'lisp/vc/vc-cvs.el')
-rw-r--r--lisp/vc/vc-cvs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el
index 6fb5fa09c7e..b33a106f3a9 100644
--- a/lisp/vc/vc-cvs.el
+++ b/lisp/vc/vc-cvs.el
@@ -1180,7 +1180,7 @@ is non-nil."
(parsed-time (progn (require 'parse-time)
(parse-time-string (concat time " +0000")))))
(cond ((and (not (string-match "\\+" time))
- (car parsed-time)
+ (decoded-time-second parsed-time)
;; Compare just the seconds part of the file time,
;; since CVS file time stamp resolution is just 1 second.
(= (encode-time mtime 'integer)