add backups directory, add readme
This commit is contained in:
parent
ec0f1d1e1f
commit
bf39427e03
|
@ -0,0 +1,13 @@
|
|||
This is my emacs configuration.
|
||||
|
||||
Files:
|
||||
- init.el: Entrypoint. This file loads all other files and has some settings of
|
||||
its own.
|
||||
- essential.el: This file contains the stuff that should be loaded first and
|
||||
that I probably will never change (apart from the theme, maybe). It also
|
||||
contains startup configuration for the package manager.
|
||||
- packages.el: All the packages required by the configuration. They are managed
|
||||
with use-package.
|
||||
- tweaks.el: Mostly just tweaks correcting the (many) horrible defaults of
|
||||
GNU Emacs. Also contains some improvements I doubt I will remove.
|
||||
- custom.el: Contains keybinds and custom functions.
|
|
@ -32,8 +32,7 @@
|
|||
(add-hook 'change-major-mode-after-body-hook 'remap-faces-default-attributes))
|
||||
|
||||
;; Move backup files to another folder.
|
||||
(setq backup-directory-alist '((".*" . "~/.emacs.d/backups/"))
|
||||
auto-save-file-name-transforms '((".*" "~/.emacs.d/backups/" t)))
|
||||
(setq backup-directory-alist '(("." . "~/.emacs.d/backups/")))
|
||||
|
||||
;; don't create .#<filename> files.
|
||||
(setq create-lockfiles nil)
|
||||
|
|
Loading…
Reference in New Issue