]> git.eshelyaron.com Git - emacs.git/commit
Simplify call to add-to-history in read_minibuf
authorFederico Tedin <federicotedin@gmail.com>
Fri, 6 Dec 2019 00:23:25 +0000 (01:23 +0100)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Dec 2019 16:12:23 +0000 (11:12 -0500)
commit9042ece787cf93665776ffb69893fcb1357aacbe
tree9abe945ddc4f510c56fd392231c21fb88f04a381
parent0f9c016a52a396cce9e0f1cc2ee35b0524d917ef
Simplify call to add-to-history in read_minibuf

* src/minibuf.c (read_minibuf): Avoid restoring the previous buffer,
as this is already done at the end of the function; call
`add-to-history' after that point.
src/minibuf.c