]> git.eshelyaron.com Git - emacs.git/commit
eshell-complete-parse-arguments: don't use string-match on a list
authorÓscar Fuentes <ofv@wanadoo.es>
Mon, 27 Dec 2021 15:01:09 +0000 (16:01 +0100)
committerÓscar Fuentes <ofv@wanadoo.es>
Mon, 27 Dec 2021 15:05:19 +0000 (16:05 +0100)
commitea65de757766fa4cb5a090012e2f6a0aeef0b9f8
tree77d1fa0cf6d1d7c2c7c2d1a87790524eb66fd368
parentd4e2850b323fdce7b4d658ece50f6071432deae8
eshell-complete-parse-arguments: don't use string-match on a list

When there is more than one candidate for completion, `val' is a list.

Fixes bug#52794.

* lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): protect
use of string-match with stringp.
lisp/eshell/em-cmpl.el