From f8e9da8bb6424215924b0de008b87c0c28fa930a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 9 Feb 2019 19:28:27 -0800 Subject: [PATCH] * lisp/ecomplete.el (ecomplete-add-item): Simplify. --- lisp/ecomplete.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ecomplete.el b/lisp/ecomplete.el index 9fc3f57833c..fb23ead63f6 100644 --- a/lisp/ecomplete.el +++ b/lisp/ecomplete.el @@ -96,7 +96,7 @@ string that was matched." (defun ecomplete-add-item (type key text) "Add item TEXT of TYPE to the database, using KEY as the identifier." (let ((elems (assq type ecomplete-database)) - (now (string-to-number (format-time-string "%s"))) + (now (encode-time nil 'integer)) entry) (unless elems (push (setq elems (list type)) ecomplete-database)) -- 2.39.5