1 ;; Red Hat Linux default .emacs initialization file
3 ;; Are we running XEmacs or Emacs?
4 (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
6 ;; Set up the keyboard so the delete key on both the regular keyboard
7 ;; and the keypad delete the character under the cursor and to the right
8 ;; under X, instead of the default, backspace behavior.
9 (global-set-key [delete] 'delete-char)
10 (global-set-key [kp-delete] 'delete-char)
12 ;; Turn on font-lock mode for Emacs
13 (cond ((not running-xemacs)
14 (global-font-lock-mode t)
17 ;; Always end a file with a newline
18 (setq require-final-newline t)
20 ;; Stop at the end of the file, not just add lines
21 (setq next-line-add-newlines nil)