equal
deleted
inserted
replaced
123 (setq kill-whole-line t) |
123 (setq kill-whole-line t) |
124 |
124 |
125 (setq view-read-only t) |
125 (setq view-read-only t) |
126 |
126 |
127 (setq read-quoted-char-radix 16) |
127 (setq read-quoted-char-radix 16) |
|
128 |
|
129 (require 'generic-x) |
128 |
130 |
129 ;; ---------------------------------------------------------------------- |
131 ;; ---------------------------------------------------------------------- |
130 ;; switching, creating, selecting buffers. |
132 ;; switching, creating, selecting buffers. |
131 |
133 |
132 (iswitchb-mode 1) |
134 (iswitchb-mode 1) |
934 (add-hook 'c-mode-common-hook |
936 (add-hook 'c-mode-common-hook |
935 (lambda () (c-add-style "my" my-c-style t))) |
937 (lambda () (c-add-style "my" my-c-style t))) |
936 (setq c-default-style '((java-mode . "my") (c-mode . "my") (csharp-mode . "my") (c++-mode . "my") (objc-mode . "my") (other . "my"))) |
938 (setq c-default-style '((java-mode . "my") (c-mode . "my") (csharp-mode . "my") (c++-mode . "my") (objc-mode . "my") (other . "my"))) |
937 |
939 |
938 ;; ---------------------------------------------------------------------- |
940 ;; ---------------------------------------------------------------------- |
939 ;; bat file, batch. |
941 ;; bat file, batch, loaded from 'generic-x.el'. |
940 |
|
941 (when (fboundp 'bat-file-mode) |
|
942 (add-to-list 'auto-mode-alist '("\\.[bB][aA][tT]\\'" . bat-file-mode)) |
|
943 (add-to-list 'auto-mode-alist '("\\.[cC][mM][dD]\\'" . bat-file-mode)) |
|
944 ) |
|
945 |
942 |
946 ;; ---------------------------------------------------------------------- |
943 ;; ---------------------------------------------------------------------- |
947 ;; nsis-mode. |
944 ;; nsis-mode. |
948 |
945 |
949 (when (fboundp 'nsis-mode) |
946 (when (fboundp 'nsis-mode) |