So I have a custom .emacs file that I have a series of key strokes bound to. The specific key stroke that I'm speaking of is C-d which I have bound to left-word via the line (global-set-key (kbd "C-d") 'left-word)

This works fine for any major mode that I've used except for java-mode. For some reason, when I'm in java-mode, the key becomes bound to c-electric-delete-forward.

Anyone have any idea as to why this key binding override works in all major modes except for Java?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.