[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/projectile cd8bcbcb15 2/9: Merge pull request #1735 from e
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/projectile cd8bcbcb15 2/9: Merge pull request #1735 from eggert/timestamp |
Date: |
Mon, 27 Dec 2021 07:58:01 -0500 (EST) |
branch: elpa/projectile
commit cd8bcbcb15be7b76d73969d2c2504100b77eda26
Merge: 2bb7ec28b1 43decc573b
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: GitHub <noreply@github.com>
Merge pull request #1735 from eggert/timestamp
Port projectile-time-seconds to future Emacs
---
projectile.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/projectile.el b/projectile.el
index 488df282c7..e67f56daef 100644
--- a/projectile.el
+++ b/projectile.el
@@ -955,8 +955,10 @@ to invalidate."
(defun projectile-time-seconds ()
"Return the number of seconds since the unix epoch."
- (cl-destructuring-bind (high low _usec _psec) (current-time)
- (+ (lsh high 16) low)))
+ (if (fboundp 'time-convert)
+ (time-convert nil 'integer)
+ (cl-destructuring-bind (high low _usec _psec) (current-time)
+ (+ (lsh high 16) low))))
(defun projectile-cache-project (project files)
"Cache PROJECTs FILES.
- [nongnu] elpa/projectile updated (ac60885f2a -> 24de2940a8), ELPA Syncer, 2021/12/27
- [nongnu] elpa/projectile fab2c546fd 8/9: Tweak a changelog entry, ELPA Syncer, 2021/12/27
- [nongnu] elpa/projectile f753cdbcf8 5/9: Update documentation around test/src-dir and update sbt project type, ELPA Syncer, 2021/12/27
- [nongnu] elpa/projectile cd8bcbcb15 2/9: Merge pull request #1735 from eggert/timestamp,
ELPA Syncer <=
- [nongnu] elpa/projectile f7eba5e164 6/9: Fix emacs 25 incompat in projectile--complementary-file, ELPA Syncer, 2021/12/27
- [nongnu] elpa/projectile 24de2940a8 9/9: Merge commit 'ac60885f2a', ELPA Syncer, 2021/12/27
- [nongnu] elpa/projectile b7937e212d 7/9: [#1734] Add a changelog entry, ELPA Syncer, 2021/12/27
- [nongnu] elpa/projectile 43decc573b 1/9: Port projectile-time-seconds to future Emacs, ELPA Syncer, 2021/12/27
- [nongnu] elpa/projectile fad389aecf 3/9: Make src/test-dir as strings take priority over fallback, ELPA Syncer, 2021/12/27
- [nongnu] elpa/projectile 139cb02e20 4/9: Fix tests, ELPA Syncer, 2021/12/27