summaryrefslogtreecommitdiff
path: root/lisp/ecomplete.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ecomplete.el')
-rw-r--r--lisp/ecomplete.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ecomplete.el b/lisp/ecomplete.el
index d9f34ef0c00..1cacd473508 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 (encode-time nil 'integer))
+ (now (time-convert nil 'integer))
entry)
(unless elems
(push (setq elems (list type)) ecomplete-database))