Move config files to XDG-compatible path
Move config files to XDG-compatible path: `$HOME/.config/emacs`.
This commit is contained in:
parent
05ad81c631
commit
7df5b0e507
19 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
;; configure backups
|
;; configure backups
|
||||||
(setq backup-directory-alist '(("." . "~/.emacs.d/backups/")
|
(setq backup-directory-alist '(("." . "~/.config/emacs/backups/")
|
||||||
("/dev/shm" . "/dev/null"))
|
("/dev/shm" . "/dev/null"))
|
||||||
backup-by-copying t
|
backup-by-copying t
|
||||||
delete-old-versions t
|
delete-old-versions t
|
|
@ -40,7 +40,7 @@
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
|
|
||||||
;; file used for storing customization information
|
;; file used for storing customization information
|
||||||
(setq custom-file "~/.emacs.d/custom.el")
|
(setq custom-file "~/.config/emacs/custom.el")
|
||||||
(load custom-file)
|
(load custom-file)
|
||||||
|
|
||||||
;; set auth-sources
|
;; set auth-sources
|
||||||
|
@ -61,7 +61,7 @@ symbols, which are converted to strings, and suffixed with \".el\"."
|
||||||
:group 'config-snippets
|
:group 'config-snippets
|
||||||
:type '(repeat (choice symbol string)))
|
:type '(repeat (choice symbol string)))
|
||||||
|
|
||||||
(defcustom config-snippet-path '("~/.emacs.d/config/")
|
(defcustom config-snippet-path '("~/.config/emacs/config/")
|
||||||
"Specifies the path in which config snippets are searched"
|
"Specifies the path in which config snippets are searched"
|
||||||
:group 'config-snippets
|
:group 'config-snippets
|
||||||
:type '(repeat directory))
|
:type '(repeat directory))
|
Loading…
Add table
Reference in a new issue