emacs mode-specific custom key bindings: local-set-key vs define-key
I believe the two approaches you describe are less different than you think. Notice that local-set-key does in fact evaluate (define-key map key command) where map is the value of (current-local-map), which is typically set by the major mode. So although they could be doing different things; most of the time the only real difference … Read more