mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
* lisp/ecomplete.el (ecomplete-add-item): Simplify.
This commit is contained in:
parent
57646401f1
commit
f8e9da8bb6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user