]> git.eshelyaron.com Git - emacs.git/commit
Fix problem with empty command histories in eshell and `erase'
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 3 Jun 2021 07:50:20 +0000 (09:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 3 Jun 2021 07:50:35 +0000 (09:50 +0200)
commit2e8212a56548d0de74c2f3c3abe72222368ae0c6
treeaeca9316bec1d6c5dd31d5847be9ed13fb2af8e6
parent3272cfa8d498dee9c449b1782cbe1a40ba85ba20
Fix problem with empty command histories in eshell and `erase'

* lisp/eshell/em-hist.el (eshell-add-input-to-history): Protect
against an empty ring (bug#48770).
lisp/eshell/em-hist.el