From: Mauro Aranda Date: Sun, 24 Sep 2023 12:31:01 +0000 (-0300) Subject: Fix tmm-mid-prompt :type (Bug#66179) X-Git-Tag: emacs-29.1.90~50 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca5b48fd76db2ab7c154c2db6a7d4a9fb7857f6c;p=emacs.git Fix tmm-mid-prompt :type (Bug#66179) * lisp/tmm.el (tmm-mid-prompt): Allow nil. --- diff --git a/lisp/tmm.el b/lisp/tmm.el index a4058594622..b587b416a35 100644 --- a/lisp/tmm.el +++ b/lisp/tmm.el @@ -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.")