|
From: | Drew Adams |
Subject: | RE: [External] : Re: Bind two commands to one key to toggle between them for the same local keymap. |
Date: | Fri, 22 Oct 2021 17:37:51 +0000 |
> I tried with the following use-package binding configuration, but > it doesn't work: > > ("<tab>" . (lamda () (if (company-search-mode) #'company-search- > abort > #'company-search-candidates))) To start with (I see you corrected these things later, but just in case the reminder helps someone): 1. lambda vs lamda 2. Your anonymous function isn't a command. It needs `interactive'.
[Prev in Thread] | Current Thread | [Next in Thread] |