]> git.eshelyaron.com Git - emacs.git/commit
ecomplete: Try and avoid losing data
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 28 Feb 2022 16:59:38 +0000 (11:59 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 28 Feb 2022 16:59:38 +0000 (11:59 -0500)
commit83b0f46a268933eeb0fe9d5f5a69bb7dcfac54fd
tree562b908c427288fd828f5b8f9cf5779f067ef0ce
parent0d123d602c68c3634f9d5d0260c1fea552825f06
ecomplete: Try and avoid losing data

* lisp/ecomplete.el (ecomplete-add-item): Make sure the database is
setup, so we don't risk overwriting it with a (mostly) empty one.
(ecomplete-save): Don't save an empty database.
lisp/ecomplete.el