abo-abo / avy

Jump to things in Emacs tree-style
1.72k stars 110 forks source link

Defining keybinding within keymap results in no prompt #247

Closed d125q closed 6 years ago

d125q commented 6 years ago

Compare

(define-key search-map (kbd "c") 'avy-goto-char-2)

and

(global-set-key (kbd "M-s c") 'avy-goto-char-2)

The first case results in no prompts being displayed (char 1: and char 2:)—even though all the functionality is there—while the second case displays the prompts just fine. Why is that? (The same holds for avy-goto-*.)

d125q commented 6 years ago

Never mind. Both cases behave the same way.