This is my ~/.emacs file:
(setq-default c-basic-offset 4 c-default-style "linux")
(setq-default tab-width 4 indent-tabs-mode t)
(define-key c-mode-base-map (kbd "RET") 'newline-and-indent)
I'm getting a warning when I open up emacs:
Warning (initialization): An error occurred while loading
c:/home/.emacs:Symbol's value as variable is void:
c-mode-base-mapTo ensure normal operations, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the
--debug-initoption to view a complete error backtrace.
I ran --debug-init and this is what it returned. I don't know what I means:
Debugger entered--Lisp error: (void-variable
c-mode-base-map)(define-key c-mode-base-map (kbd "RET") (quote newline-and-indent)) eval-buffer(#<buffer *load*> nil "c:/home/.emacs" nil t) ; Reading at buffer position 311 load-with-code-conversion("c:/home/.emacs" "c:/home/.emacs" t t) load("~/.emacs" t t)