;; A sample .emacs file care of the Computer Science Help Center ;; available online at... ;; http://www.cs.umbc.edu/~cshc/resources/new_student/.emacs (custom-set-faces) ;; set backspace to delete left of cursor ;; instead of help ;; set ctl-x? to be the new help (global-set-key "\C-h" 'delete-backward-char) (global-set-key "\C-x?" 'help-command) ;; set style to "Ellemtel" for C++ (add-hook 'c++-mode-hook '(lambda () (c-set-style "ellemtel"))) ;; set style to "Ellemtel" for C (add-hook 'c-mode-hook '(lambda () (c-set-style "ellemtel")))