projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7447d3d
)
Fix tmm-mid-prompt :type (Bug#66179)
author
Mauro Aranda
<maurooaranda@gmail.com>
Sun, 24 Sep 2023 12:31:01 +0000
(09:31 -0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 25 Sep 2023 07:32:36 +0000
(10:32 +0300)
* lisp/tmm.el (tmm-mid-prompt): Allow nil.
lisp/tmm.el
patch
|
blob
|
history
diff --git
a/lisp/tmm.el
b/lisp/tmm.el
index a4058594622c63cb3c7cd69fb580b70935ee0206..b587b416a35d9b828b98582cd6482653dbba5a83 100644
(file)
--- 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.")