Closed masatake closed 3 years ago
Ah, I think you misunderstood it (or, citre-peek
misunderstood your mind :D)
citre-peek
does not toggle. It always peeks the definitons of symbol at point. The citre-peek-abort
call is there just to abort the old session before we start a new one.
The simplest way to the toggling behavior is to bind citre-peek-abort
in citre-peek-keymap
to the same key you bind to citre-peek
or citre-ace-peek
.
Oh, I see.
Though
citre-peek
calledcitre-peek-abort
for disablingcitre-peek-mode
, it had no effect because code for enabling the mode was evaluated after callingcitre-peek-abort
.Signed-off-by: Masatake YAMATO yamato@redhat.com