diff options
| author | Mauro Aranda | 2023-09-24 09:31:01 -0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-09-25 10:32:36 +0300 |
| commit | ca5b48fd76db2ab7c154c2db6a7d4a9fb7857f6c (patch) | |
| tree | 9e078aaf4af5439d76c96c7ba2e3aa3fa419a747 | |
| parent | 7447d3df94e49bef8577008d76a6b1f6a4013146 (diff) | |
| download | emacs-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.el | 3 |
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. |
| 80 | If nil, there will be no shortcuts. It should not consist only of spaces, | 80 | If nil, there will be no shortcuts. It should not consist only of spaces, |
| 81 | or else the correct item might not be found in the `*Completions*' buffer." | 81 | or 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.") |