New answers tagged


You got it almost right. The error indicates that you tried to use a variable called map which isn’t defined; probably you copied it from some code where there was a variable called map. You probably want to use global-map instead; this is a variable which is predefined, and it holds the global key map: (define-key global-map (kbd "C-w") 'kill-...

Top 50 recent answers are included