]> git.eshelyaron.com Git - emacs.git/commit
completion--nth-completion: Throw meaningful error
authorDaniel Mendler <mail@daniel-mendler.de>
Tue, 4 Jan 2022 20:08:04 +0000 (21:08 +0100)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 5 Jan 2022 00:16:37 +0000 (19:16 -0500)
commit30d4cfc0806ee1de5a8e5091f0cc5bce22830460
tree9abb29d376e2a669069d426ceab964792140352f
parentc899d9742a3dee2069eb3a4ee9380833b5574a95
completion--nth-completion: Throw meaningful error

If a configured completion style does not exist, throw a meaningful
error. Also make completion-styles-alist a defvar, since completion
styles like orderless extend it.

* lisp/minibuffer.el (completion-styles-alist): Make it a defvar.
(completion--nth-completion): Give a more meaningful error.
lisp/minibuffer.el