aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Aranda2023-09-24 09:31:01 -0300
committerEli Zaretskii2023-09-25 10:32:36 +0300
commitca5b48fd76db2ab7c154c2db6a7d4a9fb7857f6c (patch)
tree9e078aaf4af5439d76c96c7ba2e3aa3fa419a747
parent7447d3df94e49bef8577008d76a6b1f6a4013146 (diff)
downloademacs-ca5b48fd76db2ab7c154c2db6a7d4a9fb7857f6c.tar.gz
emacs-ca5b48fd76db2ab7c154c2db6a7d4a9fb7857f6c.zip
Fix tmm-mid-prompt :type (Bug#66179)
* lisp/tmm.el (tmm-mid-prompt): Allow nil.
-rw-r--r--lisp/tmm.el3
1 files changed, 2 insertions, 1 deletions
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'."
79 "String to insert between shortcut and menu item. 79 "String to insert between shortcut and menu item.
80If nil, there will be no shortcuts. It should not consist only of spaces, 80If nil, there will be no shortcuts. It should not consist only of spaces,
81or else the correct item might not be found in the `*Completions*' buffer." 81or else the correct item might not be found in the `*Completions*' buffer."
82 :type 'string) 82 :type '(choice (const :tag "No shortcuts" nil)
83 string))
83 84
84(defvar tmm-mb-map nil 85(defvar tmm-mb-map nil
85 "A place to store minibuffer map.") 86 "A place to store minibuffer map.")