The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

0

Of course. The canonical way to do that is to use suppress-keymap on your mode's keymap. E.g. (defvar my-mode-map (let ((map (make-keymap))) (suppress-keymap map) ... map)) In the unlikely case that you want to keep the self-inserting behavior of non-digits, then you should instead manually bind each digit to digit-argument as you ...


Top 50 recent answers are included