M-x global-set-key <RET> C-d delete-backward-char
successfully rebinds C-d
to delete-backward-char
.
However, (global-set-key (kbd "C-d") 'delete-backward-char)
in my ~/.emacs.d/init.el
doesn't seem to have any effect.
This related post doesn't solve it for me.
I am new to emacs, is there something wrong with the way I am entering my command in my init file. Note that other commands successfully working in my init file include ones such as:
(global-set-key (kbd "C-c a") #'org-agenda)
.
I don't understand why the #
is needed here, but using a #
did not solve my problem of remapping C-d
Edit
Removing
(org-babel-do-load-languages
'org-babel-load-languages
'(
(emacs-lisp . t)
(R . t)
(python . t)
(scheme . t)
(java . t))
(latex . t)
)
from my ~/.emacs
file causes things to work. But I would like to be able to keep these lines if possible. Any idea why these lines are problematic?