projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5764640
)
* lisp/ecomplete.el (ecomplete-add-item): Simplify.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 10 Feb 2019 03:28:27 +0000
(19:28 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 10 Feb 2019 03:29:02 +0000
(19:29 -0800)
lisp/ecomplete.el
patch
|
blob
|
history
diff --git
a/lisp/ecomplete.el
b/lisp/ecomplete.el
index 9fc3f57833c64312de516f96e9fda16d4afb62ed..fb23ead63f6f5238492ff99c6c9c6ae293f688cb 100644
(file)
--- 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))