Fix tmm-mid-prompt :type (Bug#66179)

* lisp/tmm.el (tmm-mid-prompt): Allow nil.
This commit is contained in:
Mauro Aranda 2023-09-24 09:31:01 -03:00 committed by Eli Zaretskii
parent 7447d3df94
commit ca5b48fd76

View file

@ -79,7 +79,8 @@ See the documentation for `tmm-prompt'."
"String to insert between shortcut and menu item.
If nil, there will be no shortcuts. It should not consist only of spaces,
or else the correct item might not be found in the `*Completions*' buffer."
:type 'string)
:type '(choice (const :tag "No shortcuts" nil)
string))
(defvar tmm-mb-map nil
"A place to store minibuffer map.")