- Subject: [jed-users] Isolate function in the minubuffer to the S-Lang prompt only?
- From: Morten Bo Johansen <mbj@xxxxxxxxx>
- Date: Sat, 31 Aug 2024 17:21:03 +0200
Hi,
I would like my tabcomplete.sl utility¹ to be able to complete
at the S-Lang> prompt in the minibuffer, also. I have done this
by inserting
if (SLang_Completion_In_Minibuffer)
{
if ("slang" != detect_mode ()) return;
undefinekey(Completion_Key, "Mini_Map");
definekey("tabcomplete", Completion_Key, "Mini_Map");
}
The "Completion_Key" by default is the <tab> key and the above
code has the unwanted side effect of replacing the native
minibuffer completion for other types of minibuffer prompts such
as the find file prompt.
Is it somehow possible to enable completion from my utility
only at the S-Lang prompt?
Thanks,
Morten
¹https://raw.githubusercontent.com/mortenivar/Jed-modes/main/tabcomplete.sl
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
[2024 date index]
[2024 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]