M-return is interfering with export (
M-return e e) and other functions that I use a lot.
(define-key org-mode-map kbd "M-return" nil),
but after loading that (with
M-m f e r, since I am using Spacemacs), I still get the binding.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
You tried this:
(define-key org-mode-map kbd "M-return" nil)
Try this instead:
(define-key org-mode-map (kbd "<M-return>") nil)
You made two mistakes:
kbd is a function, and you want to pass it as argument the key description that Emacs shows you when you use
C-h k and hit Meta + Return. That mean use the sexp
(kbd ...), where
... is what
C-h k shows: