diff options
Diffstat (limited to 'lisp/xdg.el')
-rw-r--r-- | lisp/xdg.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/xdg.el b/lisp/xdg.el index 4250faaeb4b..9edc3d2629c 100644 --- a/lisp/xdg.el +++ b/lisp/xdg.el @@ -94,8 +94,8 @@ file:///foo/bar.jpg" (concat (md5 (xdg-thumb-uri filename)) ".png")) (defun xdg-thumb-mtime (filename) - "Return modification time of FILENAME as integral seconds from the epoch." - (floor (float-time (nth 5 (file-attributes filename))))) + "Return modification time of FILENAME as an Emacs timestamp." + (file-attribute-modification-time (file-attributes filename))) ;; XDG User Directories |