]> git.pld-linux.org Git - packages/emacs.git/blob - emacs-dotemacs
- updated, added pl translations, converted to UTF
[packages/emacs.git] / emacs-dotemacs
1 ;; Red Hat Linux default .emacs initialization file
2
3 ;; Are we running XEmacs or Emacs?
4 (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
5
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)
11
12 ;; Turn on font-lock mode for Emacs
13 (cond ((not running-xemacs)
14         (global-font-lock-mode t)
15 ))
16
17 ;; Always end a file with a newline
18 (setq require-final-newline t)
19
20 ;; Stop at the end of the file, not just add lines
21 (setq next-line-add-newlines nil)
This page took 0.431077 seconds and 3 git commands to generate.