justbur / emacs-which-key

Emacs package that displays available keybindings in popup
GNU General Public License v3.0
1.74k stars 87 forks source link

Error running timer ‘which-key--update’: (wrong-type-argument number-or-marker-p nil) #273

Open emillo opened 3 years ago

emillo commented 3 years ago

Hello!

Lately I've been running into this problem with which-key-mode that affects the prefix `C-c' (not in every mode but for sure in org-mode, dired and magit, and also on scratch buffer of a vanilla instance)

Emacs version: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2020-10-26

which-key-mode version: 3.5.0

steps to reproduce:

# start without init files:
emacs -Q

# open which-key.el and M-x eval-buffer
M-x eval-buffer

# activate which-key-mode
M-x which-key-mode

# press control + c
C-c

and then I get

Error running timer ‘which-key--update’: (wrong-type-argument number-or-marker-p nil)

Thanks