]> git.eshelyaron.com Git - emacs.git/commit
Fix infloop in shell.el
authorPieter van Oostrum <pieter-l@vanoostrum.org>
Thu, 16 Jan 2020 19:21:37 +0000 (20:21 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Jan 2020 09:54:03 +0000 (11:54 +0200)
commit4217bc229b8d1614b3b5c44fd1dadb775ed1ef4a
tree8d805c05e610cd3d6d7921dde98be59777ab3653
parent74b151195d8c548092bcc00ad1bf267570d9b9ac
Fix infloop in shell.el

* test/lisp/shell-tests.el (shell-tests-completion-before-semi):
Amend the shell.el tests to catch errors such as bug#39057.

* lisp/shell.el (shell--parse-pcomplete-arguments): Skip the
semi-colon as well.  This avoids inflooping when a semi-colon is
typed by the user.  (Bug#39057)

Copyright-paperwork-exempt: yes
lisp/shell.el
test/lisp/shell-tests.el