diff options
| -rw-r--r-- | init.el | 39 |
1 files changed, 39 insertions, 0 deletions
| @@ -2,3 +2,42 @@ | |||
| 2 | ;;; init.el | 2 | ;;; init.el |
| 3 | ;; | 3 | ;; |
| 4 | ;; Main configuration file for MMOSMacs. | 4 | ;; Main configuration file for MMOSMacs. |
| 5 | |||
| 6 | |||
| 7 | ;; --------------------------------------------------------------------- | ||
| 8 | ;;; File Management | ||
| 9 | ;; ---------------- | ||
| 10 | ;; Everything to do with file or directory management goes here. | ||
| 11 | ;; --------------------------------------------------------------------- | ||
| 12 | |||
| 13 | ;; --------------------------------- | ||
| 14 | ;; Disable backups | ||
| 15 | ;; --------------- | ||
| 16 | ;; By default, Emacs saves backup | ||
| 17 | ;; files, adding a `~' to the name. | ||
| 18 | ;; Stop saving them. | ||
| 19 | ;; --------------------------------- | ||
| 20 | |||
| 21 | (setq backup-inhibited t) | ||
| 22 | |||
| 23 | |||
| 24 | ;; --------------------------------- | ||
| 25 | ;; Disable auto-saves | ||
| 26 | ;; ------------------ | ||
| 27 | ;; Auto-saves are the files with | ||
| 28 | ;; hashes before and after the name. | ||
| 29 | ;; They should not exist. | ||
| 30 | ;; --------------------------------- | ||
| 31 | |||
| 32 | (setq auto-save-default nil) | ||
| 33 | |||
| 34 | |||
| 35 | ;; --------------------------------- | ||
| 36 | ;; Disable lockfiles | ||
| 37 | ;; ----------------- | ||
| 38 | ;; Sometimes I want to edit a locked | ||
| 39 | ;; file. I can handle myself, let me | ||
| 40 | ;; do what I want. | ||
| 41 | ;; --------------------------------- | ||
| 42 | |||
| 43 | (setq create-lockfiles nil) | ||