While coding, I'll occasionally fat-finger a key combo and find myself dropped into the GNU Emacs NEWS buffer (M-x view-emacs-news or C-h n). This is never what I want, since it totally breaks my flow.

How can I globally remove the C-h n binding for M-x view-emacs-news across all modes, without removing any other bindings that other modes might define for C-h n? A solution that would remove M-x view-emacs-news entirely is also fine since I don't use the feature.


1 Answer 1

(global-set-key (kbd "C-h n") nil)


(global-unset-key (kbd "C-h n"))

Or interactively: M-x global-unset-key C-h n

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.